8 [DebuggerDisplay(
"Position={CurrentPosition}, Current={debuggerDisplayProxy}")]
17 private bool iterationStarted;
37 this.original = original.Clone();
42 if (!iterationStarted)
44 current = original.Clone();
45 iterationStarted =
true;
47 if (current ==
null || !current.
MoveNext())
55 public virtual void Reset()
57 iterationStarted =
false;
61 private struct DebuggerDisplayProxy
67 this.nodeIterator = nodeIterator;
70 public override string ToString()
73 stringBuilder.
Append(
"Position=");
75 stringBuilder.
Append(
", Current=");
76 if (nodeIterator.
Current ==
null)
78 stringBuilder.
Append(
"null");
90 internal int count = -1;
108 public virtual int Count 115 while (xPathNodeIterator.
MoveNext())
124 private object debuggerDisplayProxy
138 object ICloneable.Clone()
145 public abstract XPathNodeIterator Clone();
156 return new Enumerator(
this);
unsafe override string ToString()
Converts the value of this instance to a T:System.String.
abstract int CurrentPosition
When overridden in a derived class, gets the index of the current position in the selected set of nod...
virtual int Count
Gets the index of the last node in the selected set of nodes.
virtual IEnumerator GetEnumerator()
Returns an T:System.Collections.IEnumerator object to iterate through the selected node set.
abstract bool MoveNext()
When overridden in a derived class, moves the T:System.Xml.XPath.XPathNavigator object returned by th...
Exposes an enumerator, which supports a simple iteration over a non-generic collection....
StringBuilder Append(char value, int repeatCount)
Appends a specified number of copies of the string representation of a Unicode character to this inst...
Provides an iterator over a selected set of nodes.
Supports cloning, which creates a new instance of a class with the same value as an existing instance...
Represents a mutable string of characters. This class cannot be inherited.To browse the ....
abstract XPathNavigator Current
When overridden in a derived class, gets the T:System.Xml.XPath.XPathNavigator object for this T:Syst...
Provides a cursor model for navigating and editing XML data.
The exception that is thrown when a method call is invalid for the object's current state.
Supports a simple iteration over a non-generic collection.