public SettingsView()
 {
     InitializeComponent();
     var settingsViewModel = new SettingsViewModel(Storage.Settings, Storage.Logger);
     DataContext = settingsViewModel;
     settingsViewModel.OnCloseView += (s, e) => Close();
 }
 protected SettingsSaveCommandBase(SettingsViewModel settingsViewModel, ILogger logger)
     : base(settingsViewModel, logger)
 {
 }
 public SettingsCancelCommand(SettingsViewModel settingsViewModel, ILogger logger)
     : base(settingsViewModel, logger)
 {
 }
 public SettingsSaveCorrectCommand(SettingsViewModel settingsViewModel, ILogger logger)
     : base(settingsViewModel, logger)
 {
 }
 protected SettingsCommandBase(SettingsViewModel settingsViewModel, ILogger logger)
     : base(logger)
 {
     SettingsViewModel = settingsViewModel;
 }
 public SettingsSaveCriticalFailCommand(SettingsViewModel settingsViewModel, ILogger logger)
     : base(settingsViewModel, logger)
 {
 }
 public SettingsSaveErrorCommand(SettingsViewModel settingsViewModel, ILogger logger)
     : base(settingsViewModel, logger)
 {
 }