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.v21.1.dll

Declaration

public ModuleManager(
    IViewModelLocator viewModelLocator,
    IViewLocator viewLocator,
    IStateSerializer viewModelStateSerializer,
    bool allowSaveRestoreLayout,
    bool isTestingMode,
    bool keepViewModelsAlive = 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