namespace DPumpHydr.WinFrmUI.WenSkin.Json { /// /// Provides an interface to enable a class to return line and position information. /// public interface IJsonLineInfo { /// /// Gets the current line number. /// /// The current line number or 0 if no line information is available (for example, HasLineInfo returns false). int LineNumber { get; } /// /// Gets the current line position. /// /// The current line position or 0 if no line information is available (for example, HasLineInfo returns false). int LinePosition { get; } /// /// Gets a value indicating whether the class can return line information. /// /// /// true if LineNumber and LinePosition can be provided; otherwise, false. /// bool HasLineInfo(); } }