Contract Class |
Namespace: Slash.Diagnostics.Contracts
The Contract type exposes the following members.
Name | Description | |
---|---|---|
RequiresTException(Boolean, Object) |
Specifies a precondition contract for the enclosing method or property, and throws an exception with the provided parameters if the condition for the contract fails.
| |
RequiresTException(Boolean, String) |
Specifies a precondition contract for the enclosing method or property, and throws an exception with the provided message if the condition for the contract fails.
| |
RequiresNotNullT |
Checks if the specified container of variables are not null.
|