GuardArgumentIsNotNullOrEmpty Method (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
)
Public Shared Sub ArgumentIsNotNullOrEmpty (
argumentValue As String,
argumentName As String
)
public:
static void ArgumentIsNotNullOrEmpty(
String^ argumentValue,
String^ argumentName
)
static member ArgumentIsNotNullOrEmpty :
argumentValue : string *
argumentName : string -> unit
Parameters
- argumentValue
- Type: SystemString
Argument value to check. - argumentName
- Type: SystemString
Name of argument being checked.
Exceptions
See Also