Click or drag to resize

CommandifiedMemberTValue, TChangeTypeValidateMemberValue Method

Validates the member value.

Namespace:  SD.Tools.Algorithmia.GeneralDataStructures
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0711)
Syntax
protected virtual 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