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

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