Artemis Artemis
Artemis Artemis

Search Results for

    Class NumericExtensions

    Provides Numeric alternatives for common number-type extensions

    Inheritance
    object
    NumericExtensions
    Namespace: Artemis.Core
    Assembly: Artemis.Core.dll
    Syntax
    public static class NumericExtensions

    Methods

    Subtract(IEnumerable<Numeric>)

    Subtracts the numerics in the provided collection

    Declaration
    public static Numeric Subtract(this IEnumerable<Numeric> source)
    Parameters
    Type Name Description
    IEnumerable<Numeric> source
    Returns
    Type Description
    Numeric

    The remainder of all numerics subtracted from one another in the collection

    Exceptions
    Type Condition
    ArgumentNullException

    Sum(IEnumerable<Numeric>)

    Sums the numerics in the provided collection

    Declaration
    public static Numeric Sum(this IEnumerable<Numeric> source)
    Parameters
    Type Name Description
    IEnumerable<Numeric> source
    Returns
    Type Description
    Numeric

    The sum of all numerics in the collection

    Exceptions
    Type Condition
    ArgumentNullException
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.