Skip to main content
All docs
V24.1
.NET Framework 4.5.2+

IRuleSet.ValidateAll Method

Name Parameters Description
ValidateAll(IObjectSpace, IEnumerable, ContextIdentifiers, ValidationFailedDelegate, Frame) targetObjectSpace, targets, contextIDs, validationFailedDelegate, sourceFrame Validates multiple objects against RuleSet rules with the given validation contexts. If validation fails, the ValidationException is thrown and the method passed as the validationFailedDelegate parameter is called.
ValidateAll(IObjectSpace, IEnumerable, ContextIdentifiers) targetObjectSpace, targets, contextIDs Validates multiple objects against IRuleSet‘s rules with the given validation contexts. Throws a ValidationException if the validation fails.