IRuleSet.RegisteredRules Property
Adds validation rules of the class given as a parameter to the IRuleSet.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v25.1.dll
NuGet Package: DevExpress.Persistent.Base
Declaration
Property Value
| Type | Description |
|---|---|
| IList<IRule> | The type for which the corresponding class will be scanned for validation rules. |
Remarks
The class passed as a parameter will be searched for the RuleBaseAttribute, its descendants, and the CodeRuleAttribute. Validation rules acquired from these attributes will be added to the IRuleSet.
See Also