Table of Contents

Class FlattenedEnumerables2D<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 FlattenedEnumerables2D<T> : IEnumerable<T>, IEnumerable

Type Parameters

T

The type of the elements that are held

Inheritance
FlattenedEnumerables2D<T>
Implements
Inherited Members
Extension Methods

Constructors

FlattenedEnumerables2D(IEnumerable<IEnumerable<T>>)

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

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

Parameters

enumerables IEnumerable<IEnumerable<T>>

Methods

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.