Show / Hide Table of Contents

    Class EnumerableExtensions

    Inheritance
    System.Object
    EnumerableExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Catalyst.Core.Lib.Extensions
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public static class EnumerableExtensions

    Methods

    | Improve this Doc View Source

    Sum<T>(IEnumerable<T>, Func<T, UInt64>)

    Declaration
    public static ulong Sum<T>(this IEnumerable<T> enumerable, Func<T, ulong> selector)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<T> enumerable
    System.Func<T, System.UInt64> selector
    Returns
    Type Description
    System.UInt64
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Sum<T>(IEnumerable<T>, Func<T, UInt256>)

    Declaration
    public static UInt256 Sum<T>(this IEnumerable<T> enumerable, Func<T, UInt256> selector)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<T> enumerable
    System.Func<T, UInt256> selector
    Returns
    Type Description
    UInt256
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network