CustomizeApplicationRuntimeRulesEventArgs(XafApplication, List<IRule>, List<IRuleSource>, IObjectSpaceProvider, RuleSet) Constructor
Creates a new instance of the CustomizeApplicationRuntimeRulesEventArgs.
Namespace: DevExpress.ExpressApp.Validation
Assembly: DevExpress.ExpressApp.Validation.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Validation
Declaration
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. |