Method SubtractRange
SubtractRange(IEnumerable<MonetaryValue>)
Subtracts the specified values from this bag and returns the resulting bag. Zero amounts are not trimmed from the bag.
Declaration
public ImmutableSortedMoneyBag SubtractRange(IEnumerable<MonetaryValue> values)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<MonetaryValue> | values |
Returns
| Type | Description |
|---|---|
| ImmutableSortedMoneyBag |
Remarks
Default values that are not associated with any currency are ignored.