Applies the specified transformation to each value's amount in this bag and returns the resulting bag.
Declaration
IImmutableMoneyBag IImmutableMoneyBag.TransformAmounts(Func<decimal, decimal> transform)
Parameters
Returns
Implements
Applies the specified transformation to each value's amount in this bag and returns the resulting bag. Amounts transformed to a null
amount are removed.
Declaration
IImmutableMoneyBag IImmutableMoneyBag.TransformAmounts(Func<decimal, decimal?> transform)
Parameters
Returns
Implements