Click or drag to resize

FactoryHasContractT Method

Determines whether a contract exist

Namespace:  Cauldron.Activator
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax
public static bool HasContract<T>()

Type Parameters

T
The Type that contract name derives from

Return Value

Type: Boolean
True if the contract exists, otherwise false
See Also