[This is preliminary documentation and is subject to change.]
Checks if param is not NULL.
Namespace:
CSInfrastructure.CodeContracts
Assembly:
CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax public static T IsNotNull<T>(
T param,
string paramName
)
Parameters
- param
- Type: T
The value to check - paramName
- Type: SystemString
The name of the parameter to check
Type Parameters
- T
- The type of the parameter to check
Return Value
Type:
TThe value from the parameter
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when param is NULL |
See Also