.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.Setup(String, IList<IObjectSpaceProvider>, ApplicationModulesManager, ISecurityStrategyBase) Method

Initializes the newly created XafApplication class instance.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public void Setup(
    string applicationName,
    IList<IObjectSpaceProvider> objectSpaceProviders,
    ApplicationModulesManager modulesManager,
    ISecurityStrategyBase security
)
Public Sub Setup(
    applicationName As String,
    objectSpaceProviders As IList(Of IObjectSpaceProvider),
    modulesManager As ApplicationModulesManager,
    security As ISecurityStrategyBase
)
public void Setup(
    string applicationName,
    IList<IObjectSpaceProvider> objectSpaceProviders,
    ApplicationModulesManager modulesManager,
    ISecurityStrategyBase security
)
Public Sub Setup(
    applicationName As String,
    objectSpaceProviders As IList(Of IObjectSpaceProvider),
    modulesManager As ApplicationModulesManager,
    security As ISecurityStrategyBase
)
public void Setup(
    string applicationName,
    IList<IObjectSpaceProvider> objectSpaceProviders,
    ApplicationModulesManager modulesManager,
    ISecurityStrategyBase security
)
Public Sub Setup(
    applicationName As String,
    objectSpaceProviders As IList(Of IObjectSpaceProvider),
    modulesManager As ApplicationModulesManager,
    security As ISecurityStrategyBase
)

Parameters

Name Type Description
applicationName String

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

objectSpaceProviders IList<IObjectSpaceProvider>

An IList<IObjectSpaceProvider> list used to initialize the XafApplication.ObjectSpaceProviders property and then used to create Object Spaces (see BaseObjectSpace).

modulesManager DevExpress.ExpressApp.ApplicationModulesManager

An ApplicationModulesManager object that has a module list, and 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 Strategy that will be used in the application.

Parameters

Name Type Description
applicationName String

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

objectSpaceProviders IList<IObjectSpaceProvider>

An IList<IObjectSpaceProvider> list used to initialize the XafApplication.ObjectSpaceProviders property and then used to create Object Spaces (see BaseObjectSpace).

modulesManager DevExpress.ExpressApp.ApplicationModulesManager

An ApplicationModulesManager object that has a module list, and 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 Strategy that will be used in the application.

Parameters

Name Type Description
applicationName String

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

objectSpaceProviders IList<IObjectSpaceProvider>

An IList<IObjectSpaceProvider> list used to initialize the XafApplication.ObjectSpaceProviders property and then used to create Object Spaces (see BaseObjectSpace).

modulesManager DevExpress.ExpressApp.ApplicationModulesManager

An ApplicationModulesManager object that has a module list, and 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 Strategy that will be used in the application.

See Also