Click or drag to resize

ConversionCacheIsRegistered Method

Gets an indication of whether a particular Type is registered in the cache.

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.0.8475.0
Syntax
C#
public bool IsRegistered(
	Type unitType
)

Parameters

unitType  Type
The Type of Unit to check for registration.

Return Value

Boolean
true if the Unit is registered; otherwise false.
Exceptions
ExceptionCondition
ArgumentNullExceptionunitType is null
ArgumentExceptionThrown if unitType is not a subclass of Unit.
See Also