GeneratorRepeatEachTSource Method (IGeneratorTSource, Int32) |
Namespace: Gamelogic.Extensions.Algorithms
public static IGenerator<TSource> RepeatEach<TSource>( this IGenerator<TSource> generator, int repeatCount )
| Exception | Condition |
|---|---|
| ArgumentNullException | generator is null |
| ArgumentOutOfRangeException | repeatCount is not positive. |