| ConversionRatioToBaseProviderStaticMethodsIsConvertibleToBaseTUnit Method  | 
 
            Checks if there is a conversion ratio for convertion from the specified unit to
            the base unit for this provider.
            
 
    Namespace: 
   Aloe.EnterpriseOne.Model.Core.Metrics
    Assembly:
   Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
 Syntax
Syntaxpublic static bool IsConvertibleToBase<TUnit>(
	this IConversionRatioToBaseProvider<TUnit> provider,
	TUnit sourceUnit
)
where TUnit : IUnitOfMeasure
<ExtensionAttribute>
Public Shared Function IsConvertibleToBase(Of TUnit As IUnitOfMeasure) ( 
	provider As IConversionRatioToBaseProvider(Of TUnit),
	sourceUnit As TUnit
) As Boolean
public:
[ExtensionAttribute]
generic<typename TUnit>
where TUnit : IUnitOfMeasure
static bool IsConvertibleToBase(
	IConversionRatioToBaseProvider<TUnit>^ provider, 
	TUnit sourceUnit
)
[<ExtensionAttribute>]
static member IsConvertibleToBase : 
        provider : IConversionRatioToBaseProvider<'TUnit> * 
        sourceUnit : 'TUnit -> bool  when 'TUnit : IUnitOfMeasure
Parameters
- provider
- Type: Aloe.EnterpriseOne.Model.Core.MetricsIConversionRatioToBaseProviderTUnit
 The ratio provider.
- sourceUnit
- Type: TUnit
 From unit.
Type Parameters
- TUnit
- The type of the unit.
Return Value
Type: 
Boolean
            True when a conversion ratio from the specified unit to the base unit
            is available and false when the ratio is not available.
            
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IConversionRatioToBaseProviderTUnit. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
 See Also
See Also