Click or drag to resize

ValidatableMemberTValue, TChangeTypeValidateMemberValue Method

Validates the member value.

Namespace:  SD.LLBLGen.Pro.Core.GeneralDataStructures
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.9.0.0 (5.9.0)
Syntax
protected override bool ValidateMemberValue(
	TValue valueToValidate,
	bool checkForDuplicates,
	bool throwOnError,
	out TValue correctValue
)

Parameters

valueToValidate
Type: TValue
The value to validate.
checkForDuplicates
Type: SystemBoolean
if set to true, it will check for duplicate names
throwOnError
Type: SystemBoolean
if set to true, it will throw a ValidationException if validation failed
correctValue
Type: TValue
The correct value.

Return Value

Type: Boolean
true if the member is valid, false otherwise
See Also