Throws proper exception if the class reference is null.

Declaration Syntax
public static void NotNull<TValue>(
TValue value,
string name
)
where TValue : class
Public Shared Sub NotNull(Of TValue As Class) ( _
value As TValue, _
name As String _
)
public:
generic<typename TValue>
where TValue : ref class
static void NotNull(
TValue value,
String^ name
)

Generic Template Parameters
- TValue
- The type of the value.

Parameters
- value (TValue)
- Class reference to check.
- name (String)
- The name.

Exceptions
Assembly:
Lokad.Sdk (Module: Lokad.Sdk) Version: 2.4.669.0 (2.4.669.0)