Lokad SDK for .NET - Documentation
NotNull<(Of <(TValue>)>) Method (value)
NamespacesLokadEnforceNotNull<(Of <(TValue>)>)(Func<(Of <(TValue>)>))
Throws proper exception if the class reference is null.
Declaration Syntax
C#Visual BasicVisual C++
public static void NotNull<TValue>(
	Func<TValue> value
)
where TValue : class
Public Shared Sub NotNull(Of TValue As Class) ( _
	value As Func(Of TValue) _
)
public:
generic<typename TValue>
where TValue : ref class
static void NotNull(
	Func<TValue>^ value
)
Generic Template Parameters
TValue

[Missing <typeparam name="TValue"/> documentation for "M:Lokad.Enforce.NotNull``1(System.Func{``0})"]

Parameters
value (Func<(Of <(TValue>)>))
Class reference to check.
Remarks
Silverlight 2.0 does not support fast resolution of variable names, yet
Exceptions
ExceptionCondition
InvalidOperationExceptionIf class reference is null.

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