Unit(String, String, MetricUnitType, UnitConversion) Constructor

Initializes a new instance of the Unit 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 Unit(
	string name,
	string symbol,
	MetricUnitType unitType,
	params UnitConversion[] unitConversions
)

Parameters

name  String
The name of this Unit.
symbol  String
The symbol of this Unit.
unitType  MetricUnitType
The type of this Unit.
unitConversions  UnitConversion
An array of UnitConversion containing conversion functions between this Unit and another.

See Also