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