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

◆ MoveToPrevious() [2/3]

bool System.Xml.XPath.XPathNavigator.MoveToPrevious ( string localName,
string namespaceURI )
inlinepackageinherited

Definition at line 1661 of file XPathNavigator.cs.

1662 {
1663 XPathNavigator other = Clone();
1664 string text = ((localName != null) ? NameTable.Get(localName) : null);
1665 while (MoveToPrevious())
1666 {
1667 if (NodeType == XPathNodeType.Element && text == LocalName && namespaceURI == NamespaceURI)
1668 {
1669 return true;
1670 }
1671 }
1672 MoveTo(other);
1673 return false;
1674 }
bool MoveTo(XPathNavigator other)
string? Get(char[] array, int offset, int length)

References System.Xml.XPath.XPathNavigator.Clone(), System.Xml.NameTable.Get(), System.Xml.XPath.XPathNavigator.LocalName, System.Xml.XPath.XPathNavigator.MoveTo(), System.Xml.XPath.XPathNavigator.MoveToPrevious(), System.Xml.XPath.XPathNavigator.NamespaceURI, System.Xml.XPath.XPathNavigator.NodeType, System.other, and System.text.