 | GeneratorCombineTSource, TResult Method (IEnumerableIGeneratorTSource, FuncIListTSource, TResult) |
Makes a generator that combines the elements of specified generators.
Namespace:
Gamelogic.Extensions.Algorithms
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic static IGenerator<TResult> Combine<TSource, TResult>(
IEnumerable<IGenerator<TSource>> generators,
Func<IList<TSource>, TResult> resultSelector
)
Parameters
- generators
- Type: System.Collections.GenericIEnumerableIGeneratorTSource
The generators. - resultSelector
- Type: SystemFuncIListTSource, TResult
The result selector.
Type Parameters
- TSource
- The type of elements of the source generators.
- TResult
- The type of elements this generator will generate.
Return Value
Type:
IGeneratorTResultA new generator.
Exceptions
See Also