Example #1
0
 public OpenGlobalSettings(
     GlobalSettingsPaneVm globalSettingsPaneVm,
     IActivePanelControllerVm activePanelControllerVm)
 {
     _globalSettingsPaneVm    = globalSettingsPaneVm;
     _activePanelControllerVm = activePanelControllerVm;
     OpenCommand = ReactiveCommand.Create(Open);
 }
Example #2
0
 public OpenProfileSettings(
     OpenGlobalSettings openGlobalSettings,
     GlobalSettingsPaneVm globalSettingsPaneVm)
 {
     OpenCommand = ReactiveCommand.Create(() =>
     {
         openGlobalSettings.Open();
         globalSettingsPaneVm.SelectedSettings = GlobalSettingsPaneVm.SettingsPages.Profile;
     });
 }