Skip to main content
.NET 6.0+

XafApplication.Setup(String, IObjectSpaceProvider, ApplicationModulesManager, ISecurityStrategyBase) Method

Initializes the newly created XafApplication class instance.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public void Setup(
    string applicationName,
    IObjectSpaceProvider objectSpaceProvider,
    ApplicationModulesManager modulesManager,
    ISecurityStrategyBase security
)

Parameters

Name Type Description
applicationName String

A string value that is the application’s name. This value is assigned to the XafApplication.ApplicationName property.

objectSpaceProvider IObjectSpaceProvider

An object that implements the IObjectSpaceProvider interface. This object is assigned to the XafApplication.ObjectSpaceProvider property and then used to create an Object Space (see BaseObjectSpace).

modulesManager DevExpress.ExpressApp.ApplicationModulesManager

An ApplicationModulesManager object that has a module list, provides access to the Controllers Manager, View Items Manager, Application Model and model difference storages.

security ISecurityStrategyBase

The ISecurityStrategyBase object that is the Security System Overview that will be used in the application.

Remarks

Generally, you do not need to use this method overload. It is for internal use only. Instead, use one of the remaining method overloads; for instance, the overload used by default (without parameters).

See Also