Method RemoveAll
RemoveAll(IEnumerable<Currency>)
Removes all the values from this bag that match the specified currencies and returns the resulting bag.
Declaration
public ImmutableMoneyBag RemoveAll(IEnumerable<Currency> currencies)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Currency> | currencies |
Returns
Type | Description |
---|---|
ImmutableMoneyBag |
RemoveAll(Func<MonetaryValue, bool>)
Removes all the values from this bag that match the specified predicate and returns the resulting bag.
Declaration
public ImmutableMoneyBag RemoveAll(Func<MonetaryValue, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
Func<MonetaryValue, bool> | predicate |
Returns
Type | Description |
---|---|
ImmutableMoneyBag |