Click or drag to resize

GeneratorInterleaveTSource Method (IListIGeneratorTSource)

Makes a generator that interleaves the elements of the specified generators.

Namespace:  Gamelogic.Extensions.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IGenerator<TSource> Interleave<TSource>(
	IList<IGenerator<TSource>> generators
)

Parameters

generators
Type: System.Collections.GenericIListIGeneratorTSource
The source generators.

Type Parameters

TSource
The type of elements to generate.

Return Value

Type: IGeneratorTSource
A new generator.
Exceptions
ExceptionCondition
ArgumentNullExceptiongenerators is null.
ArgumentExceptiongenerators is empty.
ArgumentExceptionAny of generators is null.
See Also