public void Save() { Settings.Hotkey = HotkeyViewModel.Hotkey.ToString(); Settings.CustomHotkeys = CustomHotkeyViewModels.Select ( c => new CustomHotkey { Hotkey = c.CustomHotkey.Hotkey.ToString(), Query = c.CustomHotkey.Query } ).ToList(); _storage.Save(); }
public void Save() { if (!_saved) { _historyItemsStorage.Save(); _userSelectedRecordStorage.Save(); _topMostRecordStorage.Save(); PluginManager.Save(); ImageLoader.Save(); _saved = true; } }
public void Save() { if (!_saved) { _settingsStorage.Save(); _queryHistoryStorage.Save(); _userSelectedRecordStorage.Save(); _topMostRecordStorage.Save(); PluginManager.Save(); ImageLoader.Save(); _saved = true; } }
public void Save() { _storage.Save(); }