Common Logging 2.0 API Reference

ArgUtils.AssertNotNull(T)(String, T) Method

Throws a ArgumentNullException if val is null.

[Visual Basic]
Public Overloads Shared Sub AssertNotNull(Of T As Class)( _
   ByVal paramName As String, _
   ByVal val As T _
)
[C#]
public static T AssertNotNull<T>(
   string paramName,
   T val
)
where T : class;

See Also

ArgUtils Class | Common.Logging.Configuration Namespace | ArgUtils.AssertNotNull(T) Overload List