Struct EnumerableTuple<I, T>.Enumerator
Represents enumerator over items in the tuple.
Implements
IEnumerator<I>
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public struct Enumerator : IEnumerator<I>
Properties
| Improve this Doc View SourceCurrent
Gets currently iterating item in the tuple.
Declaration
public I Current { get; }
Property Value
Type | Description |
---|---|
I |
Methods
| Improve this Doc View SourceMoveNext()
Advances position of this enumerator.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
Boolean | true if next item exists in the tuple; otherwise, false. |
Reset()
Sets the enumerator to its initial position, which is before the first item in the tuple.
Declaration
public void Reset()
Implements
IEnumerator<>