Table of Contents

Class IndexedEnumerable<T>

Namespace
Garyon.Objects.Enumerators
Assembly
Garyon.dll

An enumerable that uses the IndexedEnumerator<T> to enumerate elements of an IEnumerable<T>.

public class IndexedEnumerable<T> : IEnumerable<IndexedEnumeratorResult<T>>, IEnumerable

Type Parameters

T

The type of elements stored in the IEnumerable<T>.

Inheritance
IndexedEnumerable<T>
Implements
Inherited Members
Extension Methods

Constructors

IndexedEnumerable(IEnumerable<T>)

Initializes a new instance of the IndexedEnumerable<T> class from an IEnumerable<T>.

public IndexedEnumerable(IEnumerable<T> originalEnumerable)

Parameters

originalEnumerable IEnumerable<T>

The IEnumerable<T> to enumerate with index.

Methods

GetEnumerator()

Gets the IndexedEnumerator<T> that enumerates this IEnumerable<T>.

public IEnumerator<IndexedEnumeratorResult<T>> GetEnumerator()

Returns

IEnumerator<IndexedEnumeratorResult<T>>

The IndexedEnumerator<T>.