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