Skip to main content

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.v24.2.dll

Declaration

public ModuleManager(
    IViewModelLocator viewModelLocator,
    IViewLocator viewLocator,
    IStateSerializer viewModelStateSerializer,
    bool allowSaveRestoreLayout,
    bool isTestingMode,
    bool keepViewModelsAlive = true
)

Parameters

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

Optional Parameters

Name Type Default
keepViewModelsAlive Boolean True
See Also