Skip to main content
A newer version of this page is available. .

RuleSet.Validate Method

Name Parameters Description
Validate(IObjectSpace, Object, ContextIdentifiers, ValidationFailedDelegate) targetObjectSpace, target, contextIDs, validationFailedDelegate Validates an object against the RuleSet‘s rules with the given validation contexts, returns a result and throws a ValidationException if the validation fails.
Validate(IObjectSpace, Object, ContextIdentifiers) targetObjectSpace, target, contextIDs Validates an object against RuleSet‘s rules with the given validation contexts, returns a result and throws a ValidationException if the validation fails.