Struct Sequence.ConsumingEnumerable<T>.Enumerator
Represents consumer enumerator.
Inherited Members
Namespace: DotNext.Collections.Generic
Assembly: DotNext.dll
Syntax
public struct Enumerator : IEnumerator<T>, IEnumerator, IDisposable
Properties
| Improve this Doc View SourceCurrent
Gets consumed item from the underlying collection.
Declaration
public T Current { get; }
Property Value
Type | Description |
---|---|
T |
Methods
| Improve this Doc View SourceMoveNext()
Consumes the item from the underlying collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
Boolean | true if the item has been consumed successfully; false if underlying collection is empty. |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
Object |
IEnumerator.Reset()
Declaration
void IEnumerator.Reset()
IDisposable.Dispose()
Declaration
void IDisposable.Dispose()