Search Results for

    Show / Hide Table of Contents

    Class EnumerableExtensions

    Inheritance
    object
    EnumerableExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Cluster.Sharding
    Assembly: Akka.Cluster.Sharding.dll
    Syntax
    public static class EnumerableExtensions

    Methods

    | Edit this page View Source

    Grouped<T>(IEnumerable<T>, int)

    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

    int size

    The number of elements per group

    Returns
    Type Description
    IEnumerable<IEnumerable<T>>
    Type Parameters
    Name Description
    T
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET