Method Validate
Validate(IValueWrapper, FieldDescriptor)
Validates the specified value against the specified field descriptor.
bool Validate(IValueWrapper value, FieldDescriptor descriptor)
Parameters
valueIValueWrapperThe value to validate.
descriptorFieldDescriptorThe field descriptor to validate against.
Returns
- bool
trueif the specified value validates against the specified field descriptor; otherwise,false.