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