Skip to main content
.NET 6.0+

Validator.RuleSet Property

OBSOLETE

Use the 'IValidator' service or the 'Validator.GetService(IServiceProvider serviceProvider)' method instead. For more information, see https://devexpress.com/kb=T1121273.

Provides access to the Validation Rules declared in an XAF application.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v23.2.dll

Declaration

[Obsolete("Use the 'IValidator' service or the 'Validator.GetService(IServiceProvider serviceProvider)' method instead. For more information, see https://devexpress.com/kb=T1121273.", false)]
public static RuleSet RuleSet { get; }
public static RuleSet RuleSet { get; }

Property Value

Type Description
RuleSet

A RuleSet object which specifies the Validation Rules declared in an application.

Remarks

You can use methods of the object returned by the RuleSet property, to perform validation in custom Contexts. To learn how to do this, refer to the Implement Custom Contexts topic.

See Also