Show / Hide Table of Contents

Struct Sequence.ConsumingEnumerable<T>.Enumerator

Represents consumer enumerator.

Implements
IEnumerator<T>
IEnumerator
IDisposable
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 Enumerator : IEnumerator<T>, IEnumerator, IDisposable

Properties

| Improve this Doc View Source

Current

Gets consumed item from the underlying collection.

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

Methods

| Improve this Doc View Source

MoveNext()

Consumes the item from the underlying collection.

Declaration
public bool MoveNext()
Returns
Type Description
Boolean

true if the item has been consumed successfully; false if underlying collection is empty.

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerator.Current

Declaration
object IEnumerator.Current { get; }
Returns
Type Description
Object
| Improve this Doc View Source

IEnumerator.Reset()

Declaration
void IEnumerator.Reset()
| Improve this Doc View Source

IDisposable.Dispose()

Declaration
void IDisposable.Dispose()

Implements

System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
System.IDisposable

Extension Methods

Sequence.Skip<T>(IEnumerator<T>, Int32)
Sequence.Skip<TEnumerator, T>(ref TEnumerator, Int32)
Sequence.Limit<T>(IEnumerator<T>, Int32, Boolean)
ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX