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.1 (3.2.0.1)
Syntax
C#
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