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