Click or drag to resize
CheckNotNullT Method
Checks, that the value of type T is not null and otherwise throws an ArgumentNullException.

Namespace: Bobs
Assembly: Bobs.Utilities (in Bobs.Utilities.dll) Version: 0.1.0-dev001
Syntax
public static T NotNull<T>(
	T value,
	string paramName
)

Parameters

value
Type: T
The value of the argument.
paramName
Type: SystemString
The name of the argument.

Type Parameters

T
The type of the argument to check.

Return Value

Type: T
The value of the argument.
See Also