Summary
Throws an exception if the specified parameter's value is null or empty.
- Assembly
- Cake
.Prca .dll - Namespace
- Cake
.Prca - Containing Type
- PrcaArgumentChecks
Syntax
public static void NotNullOrEmpty<T>(this IEnumerable<T> value, string parameterName)
Attributes
Type | Description |
---|---|
Debugger |
Type Parameters
Name | Description |
---|---|
T | The type of the parameter. |
Parameters
Name | Type | Description |
---|---|---|
value | IEnumerable |
The value of the argument. |
parameterName | string | The name of the parameter to include in any thrown exception. |
Return Value
Type | Description |
---|---|
void |