Esempio n. 1
0
 public CalculateViewModel(IXtradeRepository xtradeRepository, IWebServiceManager webServiceManager)
 {
     this._xtradeRepository       = xtradeRepository;
     this._webServiceManager      = webServiceManager;
     this.ConvertedRateViewModels = new List <IConvertedRateViewModel>();
     this._dollarValue            = 0;
 }
Esempio n. 2
0
 public SelectedRateViewModel(IXtradeRepository xtradeRepository, IWebServiceManager webServiceManager)
 {
     this._xtradeRepository  = xtradeRepository;
     this._webServiceManager = webServiceManager;
     this.SelectedRate       = null;
 }
 public AllRatesViewModel(IXtradeRepository xtradeRepository, IWebServiceManager webServiceManager)
 {
     this._xtradeRepository  = xtradeRepository;
     this._webServiceManager = webServiceManager;
     this.AllRates           = new ObservableRangeCollection <IRate>();
 }
Esempio n. 4
0
 public AllRatesViewModel(IXtradeRepository xtradeRepository, IWebServiceManager webServiceManager)
 {
     this._xtradeRepository  = xtradeRepository;
     this._webServiceManager = webServiceManager;
     this.AllRates           = new List <IRate>();
 }