Unit(String, String, Unit, 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,
	Unit baseUnit,
	params UnitConversion[] unitConversions
)

Parameters

name  String
The name of this Unit.
symbol  String
The symbol of this Unit.
baseUnit  Unit
The base Unit of this Unit.
unitConversions  UnitConversion
An array of UnitConversion containing conversion functions between this Unit and another.

See Also