Skip to main content
.NET 8.0+

RuleSet Constructors

Specifies a set of Validation Rules that can be checked against an object.
Name Parameters Description
RuleSet(ICaptionHelperProvider) captionHelperProvider Initializes a new instance of the RuleSet class with specified settings.
RuleSet(RuleSet) source Initializes a new instance of the RuleSet class with the same rules and rule sources as its parameter.
RuleSet(IEnumerable<IRule>, IEnumerable<IRuleSource>, ICaptionHelperProvider) rules, sources, captionHelperProvider Initializes a new instance of the RuleSet class with specified settings.
See Also