Skip to main content
A newer version of this page is available. .

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

Initializes the newly created XafApplication class instance.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

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 DevExpress.ExpressApp.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