UnitDescriptionAttribute Type

Constructors

Constructor Description

UnitDescriptionAttribute(quantity, metre, kilogram, second, ampere, kelvin, mole, candela)

Full Usage: UnitDescriptionAttribute(quantity, metre, kilogram, second, ampere, kelvin, mole, candela)

Parameters:
    quantity : string - The quantity description. Examples are Length, Temperature, Mass, Time, ElectricalVoltage, ElectricalCurrent, Force, etc.
    metre : sbyte - Power of 'Metre' units that the constructed unit will contain.
    kilogram : sbyte - Power of 'Kilogram' units that the constructed unit will contain.
    second : sbyte - Power of 'Second' units that the constructed unit will contain.
    ampere : sbyte - Power of 'Ampere' units that the constructed unit will contain.
    kelvin : sbyte - Power of 'Kelvin' units that the constructed unit will contain.
    mole : sbyte - Power of 'Mole' units that the constructed unit will contain.
    candela : sbyte - Power of 'Candela' units that the constructed unit will contain.

Initializes a new instance of the UnitDescriptionAttribute class.

quantity : string

The quantity description. Examples are Length, Temperature, Mass, Time, ElectricalVoltage, ElectricalCurrent, Force, etc.

metre : sbyte

Power of 'Metre' units that the constructed unit will contain.

kilogram : sbyte

Power of 'Kilogram' units that the constructed unit will contain.

second : sbyte

Power of 'Second' units that the constructed unit will contain.

ampere : sbyte

Power of 'Ampere' units that the constructed unit will contain.

kelvin : sbyte

Power of 'Kelvin' units that the constructed unit will contain.

mole : sbyte

Power of 'Mole' units that the constructed unit will contain.

candela : sbyte

Power of 'Candela' units that the constructed unit will contain.

Instance members

Instance member Description

this.Ampere

Full Usage: this.Ampere

Returns: int

Power of 'Ampere' units that the constructed unit will contain.

Returns: int

this.Candela

Full Usage: this.Candela

Returns: int

Power of 'Candela' units that the constructed unit will contain.

Returns: int

this.Kelvin

Full Usage: this.Kelvin

Returns: int

Power of 'Kelvin' units that the constructed unit will contain.

Returns: int

this.Kilogram

Full Usage: this.Kilogram

Returns: int

Power of 'Kilogram' units that the constructed unit will contain.

Returns: int

this.Metre

Full Usage: this.Metre

Returns: int

Power of 'Metre' units that the constructed unit will contain.

Returns: int

this.Mole

Full Usage: this.Mole

Returns: int

Power of 'Mole' units that the constructed unit will contain.

Returns: int

this.Quantity

Full Usage: this.Quantity

Returns: string

The quantity description. Examples are Length, Temperature, Mass, Time, ElectricalVoltage, ElectricalCurrent, Force, etc.

Returns: string

this.Second

Full Usage: this.Second

Returns: int

Power of 'Second' units that the constructed unit will contain.

Returns: int