.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RuleSet.ValidateAll Method

Name Parameters Description
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.
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.