PrcaArgumentChecks.

NotNullOrWhiteSpace(string, string) Method

Summary

Throws an exception if the specified parameter's value is null, empty or consists only of white-space characters.
Assembly
Cake.Prca.dll
Namespace
Cake.Prca
Containing Type
PrcaArgumentChecks

Syntax

public static void NotNullOrWhiteSpace(this string value, string parameterName)

Attributes

Type Description
DebuggerStepThroughAttribute

Parameters

Name Type Description
value string The value of the argument.
parameterName string The name of the parameter to include in any thrown exception.

Return Value

Type Description
void
GitHub