Summary
Common runtime checks that throw
System.ArgumentException
upon failure.
- Assembly
- Cake
.Prca .dll - Namespace
- Cake
.Prca - Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["PrcaArgumentChecks"]
class Type type-node
Syntax
public static class PrcaArgumentChecks
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
|
NotNullOrWhiteSpace |
void |
Throws an exception if the specified parameter's value is null, empty or consists only of white-space characters.
static
|