Skip to main content
All docs
V25.1
  • .NET 8.0+

    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

    Declaration

    IList<IRule> RegisteredRules { get; }

    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