Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ XPathDocumentElementDescendantIterator() [1/2]

MS.Internal.Xml.Cache.XPathDocumentElementDescendantIterator.XPathDocumentElementDescendantIterator ( XPathDocumentNavigator root,
string name,
string namespaceURI,
bool matchSelf )
inline

Definition at line 16 of file XPathDocumentElementDescendantIterator.cs.

17 : base(root)
18 {
19 if (namespaceURI == null)
20 {
21 throw new ArgumentNullException("namespaceURI");
22 }
23 _localName = root.NameTable.Get(name);
24 _namespaceUri = namespaceURI;
25 _matchSelf = matchSelf;
26 if (root.NodeType != 0)
27 {
28 _end = new XPathDocumentNavigator(root);
30 }
31 }

References MS.Internal.Xml.Cache.XPathDocumentElementDescendantIterator._end, MS.Internal.Xml.Cache.XPathDocumentElementDescendantIterator._localName, MS.Internal.Xml.Cache.XPathDocumentElementDescendantIterator._matchSelf, MS.Internal.Xml.Cache.XPathDocumentElementDescendantIterator._namespaceUri, System.Xml.XPath.XPathNavigator.MoveToNonDescendant(), MS.Internal.Xml.Cache.XPathDocumentNavigator.NameTable, and MS.Internal.Xml.Cache.XPathDocumentNavigator.NodeType.

Referenced by MS.Internal.Xml.Cache.XPathDocumentElementDescendantIterator.Clone().