A newer version of this page is available. Switch to the current version.

RuleSet Constructors

Specifies a set of Validation Rules that can be checked on an object.
Name Parameters Description
RuleSet() none Initializes a new instance of the RuleSet class.
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>) rules, sources Initializes a new instance of the RuleSet class.
See Also