Click or drag to resize
CheckThat Method (Boolean, String, String)
Checks, that the condition is 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(
	bool condition,
	string paramName,
	string message
)

Parameters

condition
Type: SystemBoolean
The condition that is checked.
paramName
Type: SystemString
The name of the argument.
message
Type: SystemString
A message describing the pre-condition.
See Also