Struct Collection.ConsumingEnumerable<T>.Enumerator
Represents consumer enumerator.
Implements
Inherited Members
Namespace: DotNext.Collections.Generic
Assembly: DotNext.dll
Syntax
public struct Collection.ConsumingEnumerable<T>.Enumerator : IEnumerator<Collection.ConsumingEnumerable<T>.Enumerator, T>
Properties
| Edit this page View SourceCurrent
Gets consumed item from the underlying collection.
Declaration
public readonly T Current { get; }
Property Value
Type | Description |
---|---|
T |
Methods
| Edit this page View SourceMoveNext()
Consumes the item from the underlying collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
bool | true if the item has been consumed successfully; false if underlying collection is empty. |