 | FactoryHasContractT Method |
Determines whether a contract exist
Namespace:
Cauldron.Activator
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntaxpublic static bool HasContract<T>()
Public Shared Function HasContract(Of T) As Boolean
public:
generic<typename T>
static bool HasContract()
Type Parameters
- T
- The Type that contract name derives from
Return Value
Type:
BooleanTrue if the contract exists, otherwise false
See Also