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