Example #1
0
 public static void Save()
 {
     lock (_storage)
     {
         _storage.Save(ImageCache.CleanupAndToDictionary());
     }
 }
Example #2
0
 public void Save()
 {
     if (!_settings.ShouldUsePinyin)
     {
         return;
     }
     _pinyinStorage.Save(PinyinCache);
 }
Example #3
0
        public void Save()
        {
            _settingsStorage.Save();
            _win32Storage.Save(_win32s);
#if UWP
            _uwpStorage.Save(_uwps);
#endif
        }
Example #4
0
 public void Save()
 {
     if (!_settings.ShouldUsePinyin)
     {
         return;
     }
     _pinyinStorage.Save(GetPinyinCacheAsDictionary());
 }
        public void Save()
        {
            if (!_settings.ShouldUsePinyin)
            {
                return;
            }

            lock (_pinyinStorage)
            {
                _pinyinStorage.Save(PinyinCache.ToDictionary(i => i.Key, i => i.Value));
            }
        }
Example #6
0
 public void Save()
 {
     _settingsStorage.Save();
     _win32Storage.Save(_win32s);
     _uwpStorage.Save(_uwps);
 }
Example #7
0
 public static void Save()
 {
     ImageCache.Cleanup();
     _storage.Save(ImageCache.GetUsageAsDictionary());
 }
Example #8
0
File: Main.cs Project: znatz/Wox
 public void Save()
 {
     _settingsStorage.Save();
     _cacheStorage.Save();
 }
Example #9
0
 public void Save()
 {
     _settingsStorage.Save();
     _win32Storage.Save(_win32s);
     _packageRepository.Save();
 }
Example #10
0
 public void Save()
 {
     _settingsStorage.Save();
     _cache.Programs = _win32s;
     _cacheStorage.Save();
 }
Example #11
0
 public static void Save()
 {
     ImageCache.Cleanup();
     Storage.Save(ImageCache.Usage);
 }
Example #12
0
 public static void Save()
 {
     _storage.Save();
 }
Example #13
0
 public static void Save()
 {
     _pinyinStorage.Save(PinyinCache);
 }
Example #14
0
 public static void Save()
 {
     _cache.Cleanup();
     _storage.Save();
 }