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
Returns
Implements
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
Returns
Implements