Method TransformValues
TransformValues(Func<MonetaryValue, decimal>)
Applies the specified transformation to each value's amount in this bag.
Declaration
public void TransformValues(Func<MonetaryValue, decimal> transform)
Parameters
Type | Name | Description |
---|---|---|
Func<MonetaryValue, decimal> | transform |
Implements
TransformValues(Func<MonetaryValue, decimal?>)
Applies the specified transformation to each value's amount in this bag. Values transformed to a null amount are removed.
Declaration
public void TransformValues(Func<MonetaryValue, decimal?> transform)
Parameters
Type | Name | Description |
---|---|---|
Func<MonetaryValue, decimal?> | transform |