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
TThe type of the elements that are held
- Inheritance
-
FlattenedEnumerables2D<T>
- Implements
-
IEnumerable<T>
- 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
enumerablesIEnumerable<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.