PrefixedUnit Type

Represents a prefixed unit, i.e. a unit together with an SI prefix.

Constructors

Constructor Description

PrefixedUnit(unit)

Full Usage: PrefixedUnit(unit)

Parameters:
    unit : IUnit - The unit.

Initializes a new instance of the PrefixedUnit struct (with SIPrefix.None as prefix).

unit : IUnit

The unit.

PrefixedUnit(prefix, unit)

Full Usage: PrefixedUnit(prefix, unit)

Parameters:

Initializes a new instance of the PrefixedUnit struct.

prefix : SIPrefix

The SI prefix.

unit : IUnit

The unit.

Instance members

Instance member Description

this.Prefix

Full Usage: this.Prefix

Returns: SIPrefix
Modifiers: abstract

Gets the prefix.

Returns: SIPrefix

this.ToString

Full Usage: this.ToString

Returns: string A String that represents this instance.
Modifiers: abstract

Converts to a string consisting of prefix and unit.

Returns: string

A String that represents this instance.

this.Unit

Full Usage: this.Unit

Returns: IUnit
Modifiers: abstract

Gets the unit.

Returns: IUnit