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