 | CheckNotNullT Method |
Namespace: BobsAssembly: Bobs.Utilities (in Bobs.Utilities.dll) Version: 0.1.0-dev001
Syntaxpublic static T NotNull<T>(
T value,
string paramName
)
Public Shared Function NotNull(Of T) (
value As T,
paramName As String
) As T
public:
generic<typename T>
static T NotNull(
T value,
String^ paramName
)
static member NotNull :
value : 'T *
paramName : string -> 'T
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:
TThe value of the argument.
See Also