Sequence Flatten TSource  Method (IEnumerable ISequence TSource  )A Sandcastle Documented Class Library
Concatenates all sequences in the source collection into a single flattened sequence.

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public static ISequence<TSource> Flatten<TSource>(
	this IEnumerable<ISequence<TSource>> source
)

Parameters

source
Type: System.Collections.Generic IEnumerable ISequence TSource  
The collection to be flattened.
Type Parameters
TSource
The type of the elements of the resulting sequence.

Return Value

Type: ISequence TSource 
A flattened sequence obtained by concatenating all sequences in the source collection.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable ISequence TSource  . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also