Struct Sequence.ConsumingEnumerable<T>
Represents a wrapped for method TryTake(T) in the form of enumerable collection.
Inherited Members
Namespace: DotNext.Collections.Generic
Assembly: DotNext.dll
Syntax
public struct ConsumingEnumerable<T> : IEnumerable<T>, IEnumerable
Type Parameters
Name | Description |
---|---|
T | The type of elements in the collection. |
Methods
| Improve this Doc View SourceGetEnumerator()
Gets consumer enumerator.
Declaration
public Sequence.ConsumingEnumerable<T>.Enumerator GetEnumerator()
Returns
Type | Description |
---|---|
Sequence.ConsumingEnumerable.Enumerator<> | The enumerator wrapping method TryTake(T). |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable<T>.GetEnumerator()
Declaration
IEnumerator<T> IEnumerable<T>.GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<T> |
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |