ConverterFindDomain(String, String) Method

Find and return the first domain where conversions for both units are defined.

Definition

Namespace: ConversionCalc
Assembly: ConversionCalc (in ConversionCalc.dll) Version: 25.1109.1402+460980fe794ed921231d4cff278ac7c37ae486a2
C#
public ConversionDomainItem FindDomain(
	string sourceUnit,
	string targetUnit
)

Parameters

sourceUnit  String
The source unit of the conversion.
targetUnit  String
The target unit of the conversion.

Return Value

ConversionDomainItem
Reference to the domain where both of the caller's units are defined, if found. Otherwise, null.

See Also