FlattenExtension Class

Flatten extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
C#
public static class FlattenExtension
Inheritance
Object    FlattenExtension

Methods

Flatten(IEnumerable) Flattens a sequence containing arbitrarily-nested sequences.
Flatten(IEnumerable, FuncIEnumerable, Boolean) Flattens a sequence containing arbitrarily-nested sequences. An additional parameter specifies a predicate function used to determine whether a nested IEnumerable should be flattened or not.
Flatten(IEnumerable, FuncObject, IEnumerable) Flattens a sequence containing arbitrarily-nested sequences. An additional parameter specifies a function that projects an inner sequence via a property of an object.

See Also