UnitConversion Constructor

Initializes a new instance of the UnitConversion class.

Definition

Namespace: DevCase.Core.Math.Science
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public UnitConversion(
	string fromUnitName,
	string toUnitName,
	Func<Amount, Amount> conversionFunction
)

Parameters

fromUnitName  String
The name of the Unit to convert from
toUnitName  String
The name of the Unit to convert to.
conversionFunction  FuncAmount, Amount
The conversion function used to convert the Amount.

See Also