Show / Hide Table of Contents

Struct Sequence.Generator<T>.Enumerator

The enumerator over elements returned by generator method.

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

Properties

| Improve this Doc View Source

Current

Gets the element in the collection at the current position of the enumerator.

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

The enumerator is empty.

Methods

| Improve this Doc View Source

MoveNext()

Advances the enumerator to the next element.

Declaration
public bool MoveNext()
Returns
Type Description
Boolean

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Extension Methods

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