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