Click or drag to resize

GeneralUtilsCheckIfInputIsValidT Method

Checks if the input is valid.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public static T CheckIfInputIsValid<T>(
	Object input,
	string paramName,
	bool canBeNull
)
where T : class

Parameters

input
Type: SystemObject
The input.
paramName
Type: SystemString
Name of the param which was the input.
canBeNull
Type: SystemBoolean
if true, input can be null

Type Parameters

T

Return Value

Type: T
input casted to T
See Also