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

◆ MoveToNext() [2/3]

override bool System.Xml.XPath.XNodeNavigator.MoveToNext ( string localName,
string namespaceName )
inlinevirtual

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 466 of file XNodeNavigator.cs.

467 {
468 if (_source is XNode xNode)
469 {
470 foreach (XElement item in xNode.ElementsAfterSelf())
471 {
472 if (item.Name.LocalName == localName && item.Name.NamespaceName == namespaceName)
473 {
474 _source = item;
475 return true;
476 }
477 }
478 }
479 return false;
480 }
IEnumerable< XElement > ElementsAfterSelf()
Definition XNode.cs:250

References System.Xml.XPath.XNodeNavigator._source, System.Xml.Dictionary, System.Xml.Linq.XNode.ElementsAfterSelf(), and System.item.