Summary
Common runtime checks that throw
System.ArgumentException
upon failure.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["IssuesArgumentChecks"]
class Type type-node
Syntax
public static class IssuesArgumentChecks
Methods
Name | Value | Summary |
---|---|---|
NotNegative |
void |
Throws an exception if the specified parameter's value is negative.
static
|
NotNegativeOrZero |
void |
Throws an exception if the specified parameter's value is negative or zero.
static
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
static
|
NotNullOrEmpty |
void |
Throws an exception if the specified parameter's value is null or empty.
static
|
Not |
void |
Throws an exception if the specified parameter's value is null, empty or contains an empty element.
static
|
Not |
void |
Throws an exception if the specified parameter's value is null, empty or contains an empty element.
static
|
NotNullOrWhiteSpace |
void |
Throws an exception if the specified parameter's value is null, empty or consists only of white-space characters.
static
|