Unit.Unit

Unit constructor

Create new instance.

public Unit(string name, double factor, Identifier identifier = null)
ParameterTypeDescription
nameStringName of unit.
factorDoubleFactor to meter, if this is length unit, or to radian, if this is angle unit.
identifierIdentifierIdentifier of unit.

See Also