Method RemoveAll
RemoveAll(IEnumerable<Currency>)
Removes all the values from this bag that match the specified currencies.
Declaration
int RemoveAll(IEnumerable<Currency> currencies)
Parameters
Returns
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
int RemoveAll(Func<MonetaryValue, bool> predicate)
Parameters
Returns