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