Click or drag to resize

ArgumentVerifierShouldBeTrueT Method

Checks if the argument returns true with the func passed in. If not, it throws an ArgumentException with the error message specified.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static void ShouldBeTrue<T>(
	Func<T, bool> checkFunc,
	T argument,
	string formattedError
)

Parameters

checkFunc
Type: SystemFuncT, Boolean
The check func.
argument
Type: T
The argument.
formattedError
Type: SystemString
The formatted error message.

Type Parameters

T
See Also