Method IsNotNull
IsNotNull<T>(T, string)
Ensures that the value of a parameter is not null.
public static T IsNotNull<T>(T value, string paramName) where T : class
Parameters
value
TThe value of the parameter.
paramName
stringThe name of the parameter.
Returns
- T
The value of the parameter.
Type Parameters
T
Type type of the value.