ConversionCacheIsRegistered Method

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

Definition

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.2.9017.0
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

ArgumentNullExceptionunitType is null
ArgumentExceptionThrown if unitType is not a subclass of Unit.

See Also