Show / Hide Table of Contents

Struct Collection.ConsumingEnumerable<T>.Enumerator

Represents consumer enumerator.

Implements
IEnumerator<Collection.ConsumingEnumerable<T>.Enumerator, T>
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
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 Source

Current

Gets consumed item from the underlying collection.

Declaration
public readonly T Current { get; }
Property Value
Type Description
T

Methods

| Edit this page View Source

MoveNext()

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.

Implements

IEnumerator<TSelf, T>

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
Collection.ToAsyncEnumerator<TEnumerator, T>(TEnumerator, CancellationToken)
Collection.ToClassicEnumerator<TEnumerator, T>(TEnumerator)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
ExpressionBuilder.Const<T>(T)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾