Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomizeApplicationRuntimeRulesEventArgs(XafApplication, List<IRule>, List<IRuleSource>, IObjectSpaceProvider, RuleSet) Constructor

In This Article

Creates a new instance of the CustomizeApplicationRuntimeRulesEventArgs.

Namespace: DevExpress.ExpressApp.Validation

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

#Declaration

public CustomizeApplicationRuntimeRulesEventArgs(
    XafApplication application,
    List<IRule> rules,
    List<IRuleSource> ruleSources,
    IObjectSpaceProvider objectSpaceProvider,
    RuleSet applicationModelRuleSet
)

#Parameters

Name Type Description
application XafApplication

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

rules List<IRule>

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

ruleSources List<IRuleSource>

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.

objectSpaceProvider IObjectSpaceProvider

An IObjectSpaceProvider, which is the Object Space Provider to be used to create Object Spaces for creation of additional validation rules. This parameter value is assigned to the CustomizeApplicationRuntimeRulesEventArgs.ObjectSpaceProvider property.

applicationModelRuleSet RuleSet

A RuleSet object, which is the validation rules declared via the Application Model. This parameter value is assigned to the CustomizeApplicationRuntimeRulesEventArgs.ApplicationModelRuleSet property.

See Also