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