UomMeasureT Methods |
The UomMeasureT generic type exposes the following members.
Name | Description | |
---|---|---|
Clone | Creates a new object that is a copy of the current instance. | |
CompareTo | Compares the current object with another object of the same type. | |
ConvertFrom(Double) |
Converts given value from standard (SI) unit of measure.
| |
ConvertFrom(Double, UomUnit) |
Converts given value from specified unit of measure.
| |
ConvertTo |
Converts measured value to given unit of measure.
| |
Equals | Indicates whether the current object is equal to another object of the same type. | |
GetFormat | ||
GetPrecisionFormat |
Returns a string representation of given decimal precision,
preceded by an arbitrary placeholder. Default placeholder is #.
| |
GetUnitFormat |
Returns a string representation of given unit of measure,
preceded by a value placeholder. String representation depends
on unit's abbreviation.
| |
IsValid |
Returns True if object instance is considered valid,
otherwise returns False.
| |
ToString | ||
TryParse(String) |
Converts a string representation of a number to standard (SI) unit of measure.
A return value indicates whether the conversion succeeded or failed.
| |
TryParse(String, T) |
Converts a string representation of a number to given unit of measure.
A return value indicates whether the conversion succeeded or failed.
|