DefaultXmlLineInfo Class
The default implementation of IXmlLineInfo interface.
C#
public sealed class DefaultXmlLineInfo : IXmlLineInfo
- Inheritance
-
Default
Xml Line Info
- Implements
Constructors
Default |
Initializes a new instance of the DefaultXmlLineInfo class with the specified IXmlLineInfo. |
Properties
No |
Gets the IXmlLineInfo representing no line information. |
Line |
|
Line |
Methods
Has |
|
Equals(object) | (Inherited from object) |
GetHashCode() | (Inherited from object) |
GetType() | (Inherited from object) |
MemberwiseClone() | (Inherited from object) |
ToString() | (Inherited from object) |
Constructors Detail
DefaultXmlLineInfo(IXmlLineInfo)
Initializes a new instance of the DefaultXmlLineInfo class with the specified IXmlLineInfo.
C#
public DefaultXmlLineInfo(IXmlLineInfo info)
Parameters
- info
-
IXml
Line Info
The location information to be copied.
Properties Detail
NoLineInfo
Gets the IXmlLineInfo representing no line information.
C#
public static IXmlLineInfo NoLineInfo { get; }
Property Value
LineNumber
C#
public int LineNumber { get; }
Property Value
Implements
LinePosition
C#
public int LinePosition { get; }
Property Value
Implements
Methods Detail
HasLineInfo()
C#
public bool HasLineInfo()