| FactoryHasContract Method (String) |
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(
string contractName
)
Public Shared Function HasContract (
contractName As String
) As Boolean
public:
static bool HasContract(
String^ contractName
)
Parameters
- contractName
- Type: SystemString
The name that identifies the type
Return Value
Type:
BooleanTrue if the contract exists, otherwise false
See Also