mscorlib(4.0.0.0) API with additions
XmlNodeEventArgs.cs
2 {
4  public class XmlNodeEventArgs : EventArgs
5  {
6  private object o;
7 
8  private XmlNode xmlNode;
9 
10  private int lineNumber;
11 
12  private int linePosition;
13 
16  public object ObjectBeingDeserialized => o;
17 
20  public XmlNodeType NodeType => xmlNode.NodeType;
21 
24  public string Name => xmlNode.Name;
25 
28  public string LocalName => xmlNode.LocalName;
29 
32  public string NamespaceURI => xmlNode.NamespaceURI;
33 
36  public string Text => xmlNode.Value;
37 
40  public int LineNumber => lineNumber;
41 
44  public int LinePosition => linePosition;
45 
46  internal XmlNodeEventArgs(XmlNode xmlNode, int lineNumber, int linePosition, object o)
47  {
48  this.o = o;
49  this.xmlNode = xmlNode;
50  this.lineNumber = lineNumber;
51  this.linePosition = linePosition;
52  }
53  }
54 }
abstract string LocalName
Gets the local name of the node, when overridden in a derived class.
Definition: XmlNode.cs:163
string LocalName
Gets the XML local name of the XML node being deserialized.
int LineNumber
Gets the line number of the unknown XML node.
Provides data for the E:System.Xml.Serialization.XmlSerializer.UnknownNode event.
XmlNodeType
Specifies the type of node.
Definition: XmlNodeType.cs:5
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: EventArgs.cs:9
virtual string NamespaceURI
Gets the namespace URI of this node.
Definition: XmlNode.cs:143
string Text
Gets the text of the XML node being deserialized.
XmlNodeType NodeType
Gets the type of the XML node being deserialized.
virtual string Value
Gets or sets the value of the node.
Definition: XmlNode.cs:36
int LinePosition
Gets the position in the line of the unknown XML node.
object ObjectBeingDeserialized
Gets the object being deserialized.
string NamespaceURI
Gets the namespace URI that is associated with the XML node being deserialized.
string Name
Gets the name of the XML node being deserialized.
Represents a single node in the XML document.
Definition: XmlNode.cs:13
abstract string Name
Gets the qualified name of the node, when overridden in a derived class.
Definition: XmlNode.cs:20
abstract XmlNodeType NodeType
Gets the type of the current node, when overridden in a derived class.
Definition: XmlNode.cs:53