Methods
validate(mProperties, oValidation Result)
Validate the set of named properties.
Implementations of CrossPropertyValidator will typically expect a well defined
set of named properties to perform validation on. Validators should fail-fast, and throw
an exception if the set of properties they receive is not the same as what they expected.
Parameters:
| Name | Type | Description |
|---|---|---|
mProperties |
Object | A named set of properties to validate. |
oValidationResult |
module:br-validation |
The result object that the outcome of the validation will be set on. |