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.6.0.0 (5.6.19.0117)
Syntax public static T CheckIfInputIsValid<T>(
Object input,
string paramName,
bool canBeNull
)
where T : class
Public Shared Function CheckIfInputIsValid(Of T As Class) (
input As Object,
paramName As String,
canBeNull As Boolean
) As T
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:
Tinput casted to T
See Also