Struct EnumerableTuple<TItem, TTuple>.Enumerator
Represents enumerator over items in the tuple.
Inherited Members
Namespace: DotNext
Assembly: DotNext.dll
Syntax
[Obsolete("Use Span.AsSpan(ref ValueTuple) extension methods instead")]
public struct Enumerator : IEnumerator<TItem>, IEnumerator, IDisposable
Properties
| Improve this Doc View SourceCurrent
Gets currently iterating item in the tuple.
Declaration
public TItem Current { get; }
Property Value
Type | Description |
---|---|
TItem |
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()
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
Object |
IDisposable.Dispose()
Declaration
void IDisposable.Dispose()