Summary
Argument
bool
validator.
- Namespace
- oehen
.arguard - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ArgumentBooleanGuard"]
class Type type-node
Syntax
public static class ArgumentBooleanGuard
Methods
Name | Value | Summary |
---|---|---|
ThrowIfFalse |
void |
Throws an
System.ArgumentException if argument is false.
static
|
ThrowIfTrue |
void |
Throws an
System.ArgumentException if argument is true.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ThrowIfNotTypeOf |
T |
Throws an
System.InvalidOperationException if argument is not type of
T.
From ArgumentTypeGuard
|