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