GeneratorGroupTSource Method (IGeneratorTSource, Int32) |
Namespace: Gamelogic.Extensions.Algorithms
public static IGenerator<IList<TSource>> Group<TSource>( this IGenerator<TSource> generator, int groupSize )
| Exception | Condition |
|---|---|
| ArgumentNullException | generator |
| ArgumentOutOfRangeException | groupSize;Argument must be positive. |