Summary
string
> argument validator.
- Namespace
- oehen
.arguard - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ArgumentEmtpyGuard"]
class Type type-node
Syntax
public static class ArgumentEmtpyGuard
Methods
Name | Value | Summary |
---|---|---|
ThrowIfIsNullOrEmpty |
string |
Throws an
System.ArgumentNullException if the argument is null or empty.
static
|
Throw |
string |
Throws an
System.ArgumentNullException if the argument is null or whitespace.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ThrowIfNotTypeOf |
T |
Throws an
System.InvalidOperationException if argument is not type of
T.
From ArgumentTypeGuard
|