ArgumentNotNull Method

GWN Framework Contact Manager

Guard..::..ArgumentNotNull Method

Throws ArgumentNullException if the given argument is null.

Namespace:  Gwn.Common.Library.Utility
Assembly:  Gwn.Common.Library (in Gwn.Common.Library.dll)

Syntax


public static void ArgumentNotNull(
	Object argumentValue,
	string argumentName
)

Parameters

argumentValue
Type: Object
Argument value to test.
argumentName
Type: String
Name of the argument being tested.

Exceptions


ExceptionCondition
ArgumentNullException if tested value if null.