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