public SettingsViewModel(ISettingsManager settingsManager,
                          IPasswordStorage passwordStorage,
                          ITileManager tileManager,
                          IDialogService dialogService)
 {
     SettingsGeneralViewModel         = new SettingsGeneralViewModel(settingsManager);
     SettingsSecurityViewModel        = new SettingsSecurityViewModel(settingsManager, passwordStorage, dialogService);
     SettingsShortcutsViewModel       = new SettingsShortcutsViewModel(settingsManager, tileManager);
     SettingsPersonalizationViewModel = new SettingsPersonalizationViewModel(settingsManager);
 }
Exemple #2
0
        public SettingsViewModel(ISettingsManager settingsManager,
                                 IPasswordStorage passwordStorage,
                                 ITileManager tileManager,
                                 IBackgroundTaskManager backgroundTaskManager,
                                 IDialogService dialogService,
                                 IMvxNavigationService navigationService)
        {
            this.navigationService = navigationService;

            SettingsBackgroundJobViewModel   = new SettingsBackgroundJobViewModel(settingsManager, backgroundTaskManager);
            SettingsSecurityViewModel        = new SettingsSecurityViewModel(settingsManager, passwordStorage, dialogService);
            SettingsShortcutsViewModel       = new SettingsShortcutsViewModel(settingsManager, tileManager);
            SettingsPersonalizationViewModel = new SettingsPersonalizationViewModel(settingsManager);
        }