Class EnumerableExtensions
Inherited Members
Namespace: Akka.Cluster.Sharding
Assembly: Akka.Cluster.Sharding.dll
Syntax
public static class EnumerableExtensions
Methods
| Improve this Doc View SourceGrouped<T>(IEnumerable<T>, Int32)
Partitions elements in fixed size Credits to http://stackoverflow.com/a/13731854/465132
Declaration
public static IEnumerable<IEnumerable<T>> Grouped<T>(this IEnumerable<T> items, int size)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | items | TBD |
Int32 | size | The number of elements per group |
Returns
Type | Description |
---|---|
IEnumerable<IEnumerable<T>> |
Type Parameters
Name | Description |
---|---|
T |