DefaultXmlLineInfo Class

The default implementation of IXmlLineInfo interface.

C#
public sealed class DefaultXmlLineInfo : IXmlLineInfo
Inheritance
DefaultXmlLineInfo
Implements

Constructors

DefaultXmlLineInfo(IXmlLineInfo)

Initializes a new instance of the DefaultXmlLineInfo class with the specified IXmlLineInfo.

Properties

NoLineInfo

Gets the IXmlLineInfo representing no line information.

LineNumber
LinePosition

Methods

HasLineInfo()
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
IXmlLineInfo

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

int

Implements

LinePosition

C#
public int LinePosition { get; }

Property Value

int

Implements

Methods Detail

HasLineInfo()

C#
public bool HasLineInfo()

Returns

Implements