Skip to main content
All docs
V24.2
.NET 8.0+

IValidator Interface

A service that exposes API required to access the Validation Rules declared in an XAF application.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public interface IValidator

Remarks

The IValidator service exposes a single RuleSet public property. This property returns an object that implements the IRuleSet interface. This object contains all Validation Rules declared in an application. The RuleSet object’s methods allow you to perform validation in custom Contexts. To learn how to do this, refer to the Implement Custom Contexts topic.

See Also