Ejemplo n.º 1
0
 public ReadLaterListViewModel()
 {
     readLaterManager = ServiceLocator.Current.GetInstance <IReadLaterManager>();
     dataLoader       = ServiceLocator.Current.GetInstance <IDataLoader>();
     settings         = ConfigurationSerializer.Load();
     recommendations  = new ObservableCollection <RecommendationViewModel>();
 }
Ejemplo n.º 2
0
 public HomeViewModel()
 {
     this.loader = ServiceLocator.Current.GetInstance<IDataLoader>();
     this.avatarService = ServiceLocator.Current.GetInstance<IAvatarService>();
     this.readLaterManager = ServiceLocator.Current.GetInstance<IReadLaterManager>();
     Recommendations = new BindableCollection<RecommendationViewModel>();
 }
Ejemplo n.º 3
0
 public ReadLaterListViewModel()
 {
     readLaterManager = ServiceLocator.Current.GetInstance<IReadLaterManager>();
     dataLoader = ServiceLocator.Current.GetInstance<IDataLoader>();
     settings = ConfigurationSerializer.Load();
     recommendations = new ObservableCollection<RecommendationViewModel>();
 }
Ejemplo n.º 4
0
 public HomeViewModel()
 {
     this.loader           = ServiceLocator.Current.GetInstance <IDataLoader>();
     this.avatarService    = ServiceLocator.Current.GetInstance <IAvatarService>();
     this.readLaterManager = ServiceLocator.Current.GetInstance <IReadLaterManager>();
     Recommendations       = new BindableCollection <RecommendationViewModel>();
 }