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

◆ Create()

void System.Xml.Xsl.Runtime.NamespaceIterator.Create ( XPathNavigator context)
inline

Definition at line 15 of file NamespaceIterator.cs.

16 {
19 {
20 return;
21 }
22 do
23 {
24 if (context.LocalName.Length != 0 || context.Value.Length != 0)
25 {
26 _navStack.Push(context.Clone());
27 }
28 }
29 while (context.MoveToNextNamespace(XPathNamespaceScope.All));
30 context.MoveToParent();
31 }
bool MoveToFirstNamespace(XPathNamespaceScope namespaceScope)
bool MoveToNextNamespace(XPathNamespaceScope namespaceScope)

References System.Xml.Xsl.Runtime.NamespaceIterator._navStack, System.Xml.XPath.XPathNavigator.Clone(), System.Xml.XPath.XPathNavigator.LocalName, System.Xml.XPath.XPathNavigator.MoveToFirstNamespace(), System.Xml.XPath.XPathNavigator.MoveToNextNamespace(), System.Xml.XPath.XPathNavigator.MoveToParent(), System.Xml.Xsl.Runtime.XmlNavigatorStack.Push(), System.Xml.Xsl.Runtime.XmlNavigatorStack.Reset(), and System.Xml.XPath.XPathItem.Value.