Click or drag to resize

GuardIsNotNullT Method

[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
C#
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: T
The value from the parameter
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when param is NULL
See Also