Validates that the object is not null, and that if it is a string it contains a value and is not an empty string.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)

Syntax

C#
public static void ValidateArgumentRequired(
	string name,
	Object value
)
Visual Basic
Public Shared Sub ValidateArgumentRequired ( _
	name As String, _
	value As Object _
)
Visual C++
public:
static void ValidateArgumentRequired(
	String^ name, 
	Object^ value
)

Parameters

name
Type: System..::..String
The name of the argument to validate.
value
Type: System..::..Object
The value of the argument to validate.

See Also