Beispiel #1
0
        public void Load()
        {
            _rates        = _memoryService.LoadCollection <CurrencyRate>(_fileName);
            _lastUpdate   = _memoryService.LoadValue <DateTime>(_lastUpdateKey);
            _lastCurrency = _memoryService.LoadValue <string>(_lastCurrencyKey);

            OnLoaded();
        }
Beispiel #2
0
        public void Load()
        {
            DefaultCurrency         = _memoryService.LoadValue <CurrencyName>(_defaultCurrencyKey);
            DefaultSortOrder        = _memoryService.LoadValue <CategorySortOrder>(_defaultSortOrderKey);
            DefaultOperationsFilter = _memoryService.LoadValue <OperationFilter>(_defaultOperationsFilterKey);
            LoadRates          = _memoryService.LoadValue <bool>(_loadRatesKey);
            SkyDriveAutoUpload = _memoryService.LoadValue <bool>(_skyDriveAutoUploadKey);

            Protected = _memoryService.LoadValue <bool>(_protectedKey);
            Password  = _memoryService.LoadValue <string>(_passwordKey);
            Question  = _memoryService.LoadValue <string>(_questionKey);
            Answer    = _memoryService.LoadValue <string>(_answerKey);
        }