class UnitAttribute

Parents

Attribute

Brief

The attribute to specify the name for the measurement unit.

Details

The attribute is applied on enumeration fields which describe one unit of the measurement (e.g. "meter")

Public Properties

AlterantiveName

The alternative name of the unit

DefaultAccuracy

The default accuracy (number of digits after decimal point).

HasAlternativeName

The flag indicating whether the unit has alternative name

Name

The primary name of the unit

Public Constructors

UnitAttribute

Constructor for the unit that has one name

UnitAttribute

Constructor for the unit that has more than one names

back