Exemple #1
0
 public static void Save()
 {
     lock (_storage)
     {
         _storage.Save(ImageCache.CleanupAndToDictionary());
     }
 }
Exemple #2
0
 public void Save()
 {
     if (!_settings.ShouldUsePinyin)
     {
         return;
     }
     _pinyinStorage.Save(PinyinCache);
 }
Exemple #3
0
        public void Save()
        {
            _settingsStorage.Save();
            _win32Storage.Save(_win32s);
#if UWP
            _uwpStorage.Save(_uwps);
#endif
        }
Exemple #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));
            }
        }
Exemple #6
0
 public void Save()
 {
     _settingsStorage.Save();
     _win32Storage.Save(_win32s);
     _uwpStorage.Save(_uwps);
 }
Exemple #7
0
 public static void Save()
 {
     ImageCache.Cleanup();
     _storage.Save(ImageCache.GetUsageAsDictionary());
 }
Exemple #8
0
 public void Save()
 {
     _settingsStorage.Save();
     _cacheStorage.Save();
 }
Exemple #9
0
 public void Save()
 {
     _settingsStorage.Save();
     _win32Storage.Save(_win32s);
     _packageRepository.Save();
 }
Exemple #10
0
 public void Save()
 {
     _settingsStorage.Save();
     _cache.Programs = _win32s;
     _cacheStorage.Save();
 }
Exemple #11
0
 public static void Save()
 {
     ImageCache.Cleanup();
     Storage.Save(ImageCache.Usage);
 }
Exemple #12
0
 public static void Save()
 {
     _storage.Save();
 }
Exemple #13
0
 public static void Save()
 {
     _pinyinStorage.Save(PinyinCache);
 }
Exemple #14
0
 public static void Save()
 {
     _cache.Cleanup();
     _storage.Save();
 }