IssuesArgumentChecks.

NotNegativeOrZero(int, string) Method

Summary

Throws an exception if the specified parameter's value is negative or zero.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
IssuesArgumentChecks

Syntax

public static void NotNegativeOrZero(this int value, string parameterName)

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

Type Description
void
GitHub