ModuleManager(IViewModelLocator, IViewLocator, IStateSerializer, Boolean, Boolean, Boolean) Constructor

Initializes a new instance of the ModuleManager class with specified settings.

Namespace: DevExpress.Mvvm.ModuleInjection

Assembly: DevExpress.Mvvm.v20.1.dll

Declaration

public ModuleManager(
    IViewModelLocator viewModelLocator,
    IViewLocator viewLocator,
    IStateSerializer viewModelStateSerializer,
    bool allowSaveRestoreLayout,
    bool isTestingMode,
    bool keepViewModelsAlive = false
)
Public Sub New(
    viewModelLocator As IViewModelLocator,
    viewLocator As IViewLocator,
    viewModelStateSerializer As IStateSerializer,
    allowSaveRestoreLayout As Boolean,
    isTestingMode As Boolean,
    keepViewModelsAlive As Boolean = False
)

Parameters

Name Type
viewModelLocator DevExpress.Mvvm.IViewModelLocator
viewLocator IViewLocator
viewModelStateSerializer DevExpress.Mvvm.IStateSerializer
allowSaveRestoreLayout Boolean
isTestingMode Boolean

Optional Parameters

Name Type Default
keepViewModelsAlive Boolean

False

See Also