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

◆ MoveToChild() [1/2]

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

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 300 of file XNodeNavigator.cs.

301 {
303 {
304 foreach (XElement item in xContainer.Elements())
305 {
306 if (item.Name.LocalName == localName && item.Name.NamespaceName == namespaceName)
307 {
308 _source = item;
309 return true;
310 }
311 }
312 }
313 return false;
314 }
IEnumerable< XElement > Elements()

References System.Xml.XPath.XNodeNavigator._source, System.Xml.Dictionary, System.Xml.Linq.XContainer.Elements(), and System.item.