Beispiel #1
0
        public void Save()
        {
            _memoryService.SaveValue(_defaultCurrencyKey, DefaultCurrency);
            _memoryService.SaveValue(_defaultSortOrderKey, DefaultSortOrder);
            _memoryService.SaveValue(_defaultOperationsFilterKey, DefaultOperationsFilter);
            _memoryService.SaveValue(_loadRatesKey, LoadRates);
            _memoryService.SaveValue(_skyDriveAutoUploadKey, SkyDriveAutoUpload);

            _memoryService.SaveValue(_protectedKey, _protected);
            _memoryService.SaveValue(_passwordKey, _password);
            _memoryService.SaveValue(_questionKey, _question);
            _memoryService.SaveValue(_answerKey, _answer);
        }
Beispiel #2
0
 public void Save()
 {
     _memoryService.SaveCollection <CurrencyRate>(_rates, _fileName);
     _memoryService.SaveValue(_lastUpdateKey, _lastUpdate);
     _memoryService.SaveValue(_lastCurrencyKey, _lastCurrency);
 }