Свойство | Тип | Описание | |
---|---|---|---|
CombinedUnits | CombinedUnit>.Dictionary | ||
KnownUnits | PhysicalUnit>.Dictionary |
Метод | Описание | |
---|---|---|
Add ( String target, Double rate ) : |
Adds a conversion determined by y = a * x.
|
|
Add ( String target, Double rate, Double offset ) : |
Adds a conversion determined by y = a * x + b.
|
|
CanBe ( String unit ) : System.Boolean | ||
FindCombinedUnit ( String unit ) : |
||
FindUnit ( String unit ) : |
||
GetConversion ( String unit ) : Double>.Func |
||
GetInverseConversion ( String unit ) : Double>.Func |
||
HasConversion ( String target ) : System.Boolean | ||
IsCombinedUnit ( String unit ) : System.Boolean | ||
TransformTo ( String unit ) : |
Метод | Описание | |
---|---|---|
Create ( ) : |
||
GetWeight ( String unit ) : Double | ||
SetPrefixes ( ) : void |
Метод | Описание | |
---|---|---|
Identity ( Double x ) : Double | ||
PhysicalUnit ( ) : System |
public Add ( String target, Double rate ) : |
||
target | String | The target unit, e.g. in m to yd, yd would be the target unit. |
rate | Double | The rate of the conversion. |
Результат |
public Add ( String target, Double rate, Double offset ) : |
||
target | String | The target unit, e.g. in K to °C, °C would be the target unit. |
rate | Double | The rate (a) of the conversion. |
offset | Double | The offset (b) of the conversion. |
Результат |
public CanBe ( String unit ) : System.Boolean | ||
unit | String | |
Результат | System.Boolean |
protected abstract Create ( ) : |
||
Результат |
public static FindCombinedUnit ( String unit ) : |
||
unit | String | |
Результат |
public static FindUnit ( String unit ) : |
||
unit | String | |
Результат |
public GetConversion ( String unit ) : Double>.Func |
||
unit | String | |
Результат | Double>.Func |
public GetInverseConversion ( String unit ) : Double>.Func |
||
unit | String | |
Результат | Double>.Func |
protected GetWeight ( String unit ) : Double | ||
unit | String | |
Результат | Double |
public HasConversion ( String target ) : System.Boolean | ||
target | String | |
Результат | System.Boolean |
public static IsCombinedUnit ( String unit ) : System.Boolean | ||
unit | String | |
Результат | System.Boolean |
public TransformTo ( String unit ) : |
||
unit | String | |
Результат |
protected static Dictionary |
||
Результат | CombinedUnit>.Dictionary |