Show / Hide Table of Contents

Struct Collection.ConsumingEnumerable<T>

Represents a wrapped for method TryTake(out T) in the form of enumerable collection.

Implements
IEnumerable<T>
IEnumerable
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
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

View Source

GetEnumerator()

Gets consumer enumerator.

Declaration
public Collection.ConsumingEnumerable<T>.Enumerator GetEnumerator()
Returns
Type Description
Collection.ConsumingEnumerable<T>.Enumerator

The enumerator wrapping method TryTake(out T).

Implements

IEnumerable<T>
IEnumerable

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
Collection.Append<T>(IEnumerable<T>, params T[])
Collection.Copy<T>(IEnumerable<T>, int, MemoryAllocator<T>?)
Collection.FirstOrNone<T>(IEnumerable<T>)
Collection.ForEachAsync<T>(IEnumerable<T>, Func<T, CancellationToken, ValueTask>, CancellationToken)
Collection.ForEach<T>(IEnumerable<T>, Action<T>)
Collection.LastOrNone<T>(IEnumerable<T>)
Collection.Prepend<T>(IEnumerable<T>, params T[])
Collection.SequenceHashCode<T>(IEnumerable<T>, bool)
Collection.ToAsyncEnumerable<T>(IEnumerable<T>, bool)
Collection.ToString<T>(IEnumerable<T>, string, string)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾