ConverterHasDefinition Method

Return a value indicating whether the provided definition contains a conversion for the specified unit.

Definition

Namespace: ConversionCalc
Assembly: ConversionCalc (in ConversionCalc.dll) Version: 25.1109.1402+460980fe794ed921231d4cff278ac7c37ae486a2
C#
public bool HasDefinition(
	ConversionDomainItem domain,
	string unit
)

Parameters

domain  ConversionDomainItem
Reference to the domain to be checked.
unit  String
Name of the unit to find.

Return Value

Boolean
Value indicating whether the provided domain contains the specified unit conversion.

See Also