IEnumerableExtensionsBatchTResult Method |
Namespace: Cimbalino.Toolkit.Extensions
public static IEnumerable<IEnumerable<TResult>> Batch<TResult>( this IEnumerable<TResult> source, int batchSize )
Exception | Condition |
---|---|
ArgumentException | If the batch size is below 1. |