コード例 #1
0
 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();
 }
コード例 #2
0
        public void Save()
        {
            if (!_saved)
            {
                _historyItemsStorage.Save();
                _userSelectedRecordStorage.Save();
                _topMostRecordStorage.Save();

                PluginManager.Save();
                ImageLoader.Save();

                _saved = true;
            }
        }
コード例 #3
0
        public void Save()
        {
            if (!_saved)
            {
                _settingsStorage.Save();
                _queryHistoryStorage.Save();
                _userSelectedRecordStorage.Save();
                _topMostRecordStorage.Save();

                PluginManager.Save();
                ImageLoader.Save();

                _saved = true;
            }
        }
コード例 #4
0
 public void Save()
 {
     _storage.Save();
 }