This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Issues.
Summary
Throws an exception if the specified parameter's value is negative.
Syntax
public static void NotNegative(this int value, string parameterName = null)
Attributes
Type |
Description |
DebuggerStepThroughAttribute |
|
Parameters
Name |
Type |
Description |
value |
int |
The value of the argument. |
parameterName |
string |
The name of the parameter to include in any thrown exception. |
Return Value