Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

RuleSet.ValidateAll Method

Name Parameters Description
ValidateAll(IObjectSpace, IEnumerable, ContextIdentifiers, ValidationFailedDelegate) targetObjectSpace, targets, contextIDs, validationFailedDelegate 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.