GuardArgumentIsNotNullOrEmpty Method (String, String, String) |
Throws an exception if the tested string argument is or the empty string.
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntaxpublic static void ArgumentIsNotNullOrEmpty(
string argumentValue,
string argumentName,
string message
)
Public Shared Sub ArgumentIsNotNullOrEmpty (
argumentValue As String,
argumentName As String,
message As String
)
public:
static void ArgumentIsNotNullOrEmpty(
String^ argumentValue,
String^ argumentName,
String^ message
)
static member ArgumentIsNotNullOrEmpty :
argumentValue : string *
argumentName : string *
message : string -> unit
Parameters
- argumentValue
- Type: SystemString
Argument value to check. - argumentName
- Type: SystemString
Name of argument being checked. - message
- Type: SystemString
The message that will be passed to the exception.
Exceptions
See Also