Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Method RemoveAll

    RemoveAll(IEnumerable<Currency>)

    Removes all the values from this bag that match the specified currencies.

    Declaration
    public int RemoveAll(IEnumerable<Currency> currencies)
    Parameters
    Type Name Description
    IEnumerable<Currency> currencies
    Returns
    Type Description
    int
    Implements
    IMoneyBag.RemoveAll(IEnumerable<Currency>)
    Remarks

    If any of the specified currencies are not present in the bag's currency registry, an exception will be thrown. However, all valid currencies will be removed prior to the exception being thrown.

    Exceptions
    Type Condition
    ArgumentException

    "The following currencies are not present in the bag's currency registry.".

    RemoveAll(Func<MonetaryValue, bool>)

    Removes all the values from this bag that match the specified predicate and returns the resulting bag.

    Declaration
    public int RemoveAll(Func<MonetaryValue, bool> predicate)
    Parameters
    Type Name Description
    Func<MonetaryValue, bool> predicate
    Returns
    Type Description
    int
    Implements
    IMoneyBag.RemoveAll(Func<MonetaryValue, bool>)
    © Singulink. All rights reserved.