GuardArgumentIsNotNull Method (Object, String, String) |
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntaxpublic static void ArgumentIsNotNull(
Object argumentValue,
string argumentName,
string message
)
Public Shared Sub ArgumentIsNotNull (
argumentValue As Object,
argumentName As String,
message As String
)
public:
static void ArgumentIsNotNull(
Object^ argumentValue,
String^ argumentName,
String^ message
)
static member ArgumentIsNotNull :
argumentValue : Object *
argumentName : string *
message : string -> unit
Parameters
- argumentValue
- Type: SystemObject
Argument value to test. - argumentName
- Type: SystemString
Name of the argument being tested. - message
- Type: SystemString
The message that will be passed to the exception.
Exceptions
RemarksIf message equals or an empty string, the message will not be passed to the exception.
See Also