Click or drag to resize
CheckThat Method (FuncBoolean, String, String)
Checks, that the predicate evaluates to true and otherwise throws an ArgumentOutOfRangeException

Namespace: Bobs
Assembly: Bobs.Utilities (in Bobs.Utilities.dll) Version: 0.1.0-dev001
Syntax
public static void That(
	Func<bool> predicate,
	string paramName,
	string message
)

Parameters

predicate
Type: SystemFuncBoolean
The predicate to evaluate.
paramName
Type: SystemString
The name of the argument.
message
Type: SystemString
A message describing the pre-condition.
See Also