Skip to main content

RuleSet.ValidateAll Method

Name Parameters Description
ValidateAll(IObjectSpace, IEnumerable, ContextIdentifiers, ValidationFailedDelegate, Frame) targetObjectSpace, targets, contextIDs, validationFailedDelegate, sourceFrame Validates multiple objects against RuleSet‘s rules with the given validation contexts, returns a result and throws a ValidationException if the validation fails.
ValidateAll(IObjectSpace, IEnumerable, ContextIdentifiers) targetObjectSpace, targets, contextIDs Validates multiple objects against RuleSet‘s rules with the given validation contexts, returns a result and throws a ValidationException if the validation fails.