Пример #1
0
        public RatesViewModel()
            : base()
        {
            _ratesService          = App.Container.GetInstance <IRatesService>();
            _ratesService.Updated += OnRatesloaded;
            _ratesService.Failed  += OnLoadFailed;


            OnStarted(Resources.AppResources.RatesProgressMessage);
            _ratesService.UpdateAsync(_options.DefaultCurrency.ToString());
        }
Пример #2
0
 private void UpdateRate()
 {
     OnStarted(Resources.AppResources.RatesProgressMessage);
     _ratesService.UpdateAsync(_options.DefaultCurrency.ToString());
 }