Table of Contents

Class FlattenedEnumerables3D<T>

Namespace
Garyon.Objects.Enumerators
Assembly
Garyon.dll

Represents an immutable collection of enumerables, which is flattened, through enumeration, into a single IEnumerable<T>.

public class FlattenedEnumerables3D<T> : IEnumerable<T>, IEnumerable

Type Parameters

T

The type of the elements that are held

Inheritance
FlattenedEnumerables3D<T>
Implements
Inherited Members
Extension Methods

Constructors

FlattenedEnumerables3D(IEnumerable<IEnumerable<IEnumerable<T>>>)

Represents an immutable collection of enumerables, which is flattened, through enumeration, into a single IEnumerable<T>.

public FlattenedEnumerables3D(IEnumerable<IEnumerable<IEnumerable<T>>> enumerables)

Parameters

enumerables IEnumerable<IEnumerable<IEnumerable<T>>>

Methods

GetBackedEnumerator()

Only intended for benchmarking purposes.

public IEnumerator<T> GetBackedEnumerator()

Returns

IEnumerator<T>

The backed enumerator for the 3D enumeration process.

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>

An enumerator that can be used to iterate through the collection.