PartitionerEnumerable Constructor
Definition
- Namespace
- Cuemon.Collections.Generic
- Assemblies
- Cuemon.Core.dll
PartitionerEnumerable(IEnumerable<T>, int)
Initializes a new instance of the PartitionerEnumerable<T> class.
public PartitionerEnumerable(IEnumerable<T> source, int partitionSize = 128)
Parameters
sourceIEnumerable<T>The sequence to iterate in partitions.
partitionSizeintThe size of the partitions.
Exceptions
- ArgumentOutOfRangeException
partitionSizeis lower than 0.