Click or drag to resize

IConversionRatioProviderTUnit Methods

The IConversionRatioProviderTUnit generic type exposes the following members.

Methods
  NameDescription
Public methodGetRatioOrDefault
Gets the conversion ratio for convertion from the specified unit to the specified unit. Returns Zero when the ratio is not available.
Top
Extension Methods
  NameDescription
Public Extension MethodGetRatioTUnit
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.)
Public Extension MethodIsConvertibleTUnit
Verifies if there is a conversion ratio for convertion from the specified unit to the specified unit.
(Defined by IConversionRatioProviderExtensions.)
Top
See Also