FuncBasedValidatorTValueValidate Method |
Validates the specified value to validate.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.Validation
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public bool Validate(
TValue valueToValidate,
bool checkForDuplicates,
out TValue correctValue
)
Public Function Validate (
valueToValidate As TValue,
checkForDuplicates As Boolean,
<OutAttribute> ByRef correctValue As TValue
) As Boolean
Parameters
- valueToValidate
- Type: TValue
The value to validate. - checkForDuplicates
- Type: SystemBoolean
if set to true [check for duplicates]. - correctValue
- Type: TValue
The correct value.
Return Value
Type:
Booleantrue if value is valid, false otherwise
Implements
IValidatorTValueValidate(TValue, Boolean, TValue)See Also