CustomizeRulesEventArgs(XafApplication, List<IRule>, List<IRuleSource>) Constructor

Creates a new instance of the CustomizeRulesEventArgs.

Namespace: DevExpress.ExpressApp.Validation

Assembly: DevExpress.ExpressApp.Validation.v18.2.dll

Declaration

public CustomizeRulesEventArgs(
    XafApplication application,
    List<IRule> rules,
    List<IRuleSource> ruleSources
)
Public Sub New(
    application As XafApplication,
    rules As List(Of IRule),
    ruleSources As List(Of IRuleSource)
)

Parameters

Type Name Description
XafApplication application

An XafApplication object that provides methods and properties to manage the current application. This parameter value is assigned to the CustomizeRulesEventArgs.Application property.

List<IRule> rules

A List<IRule> collection of additional validation rules to be used by the application. This parameter value is assigned to the CustomizeRulesEventArgs.Rules property.

List<IRuleSource> ruleSources

A List<IRuleSource> collection of additional validation rule sources to be used by the application. This parameter value is assigned to the CustomizeRulesEventArgs.RuleSources property.

See Also