IConversionRatioProviderTUnit Methods |
The IConversionRatioProviderTUnit generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | GetRatioOrDefault |
Gets the conversion ratio for convertion from the specified unit to the specified unit.
Returns Zero when the ratio is not available.
|
Name | Description | |
---|---|---|
![]() | GetRatioTUnit |
Gets the conversion ratio for convertion from the specified unit to the specified unit.
Throws exception if the ratio is not available.
(Defined by IConversionRatioProviderExtensions.) |
![]() | IsConvertibleTUnit |
Verifies if there is a conversion ratio for convertion from the specified unit to the specified unit.
(Defined by IConversionRatioProviderExtensions.) |