Skip to main content
.NET 6.0+

RuleSet Constructors

Specifies a set of Validation Rules that can be checked on 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