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

◆ Advance()

override XPathNavigator MS.Internal.Xml.XPath.NamespaceQuery.Advance ( )
inline

Definition at line 26 of file NamespaceQuery.cs.

27 {
28 do
29 {
30 if (!_onNamespace)
31 {
33 if (currentNode == null)
34 {
35 return null;
36 }
37 position = 0;
40 }
41 else
42 {
44 }
45 }
46 while (!_onNamespace || !matches(currentNode));
47 position++;
48 return currentNode;
49 }
override bool matches(XPathNavigator e)
XPathNavigator Advance()
bool MoveToFirstNamespace(XPathNamespaceScope namespaceScope)
bool MoveToNextNamespace(XPathNamespaceScope namespaceScope)

References MS.Internal.Xml.XPath.NamespaceQuery._onNamespace, MS.Internal.Xml.XPath.Query.Advance(), System.Xml.XPath.XPathNavigator.Clone(), MS.Internal.Xml.XPath.BaseAxisQuery.currentNode, MS.Internal.Xml.XPath.NamespaceQuery.matches(), System.Xml.XPath.XPathNavigator.MoveToFirstNamespace(), System.Xml.XPath.XPathNavigator.MoveToNextNamespace(), MS.Internal.Xml.XPath.BaseAxisQuery.position, and MS.Internal.Xml.XPath.BaseAxisQuery.qyInput.