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

◆ Create()

void System.Xml.Xsl.Runtime.PrecedingIterator.Create ( XPathNavigator context,
XmlNavigatorFilter filter )
inline

Definition at line 15 of file PrecedingIterator.cs.

16 {
17 _navCurrent = XmlQueryRuntime.SyncToNavigator(_navCurrent, context);
19 _stack.Reset();
20 if (!_navCurrent.IsSamePosition(context))
21 {
22 if (!filter.IsFiltered(_navCurrent))
23 {
25 }
26 while (filter.MoveToFollowing(_navCurrent, context))
27 {
29 }
30 }
31 }
bool IsSamePosition(XPathNavigator other)

References System.Xml.Xsl.Runtime.PrecedingIterator._navCurrent, System.Xml.Xsl.Runtime.PrecedingIterator._stack, System.Xml.XPath.XPathNavigator.Clone(), System.Xml.Dictionary, System.Xml.XPath.XPathNavigator.IsSamePosition(), System.Xml.XPath.XPathNavigator.MoveToRoot(), System.Xml.Xsl.Runtime.XmlNavigatorStack.Push(), System.Xml.Xsl.Runtime.XmlNavigatorStack.Reset(), and System.Xml.Xsl.Runtime.XmlQueryRuntime.SyncToNavigator().