Пример #1
0
 public DashboardViewModel(INavigation nav)
 {
     _navigation = nav;
     _faqItems   = new List <FaqItem>();
     _playerStatsDbController   = StartUp.ServiceProvider.GetService <IPlayerStatsDbController>();
     _categoryStatsDbController = StartUp.ServiceProvider.GetService <ICategoryStatsDbController>();
     _categoryController        = StartUp.ServiceProvider.GetService <ICategoryController>();
 }
 public PlayerScoresViewModel()
 {
     _playerStatsDbController   = StartUp.ServiceProvider.GetService <IPlayerStatsDbController>();
     _categoryStatsDbController = StartUp.ServiceProvider.GetService <ICategoryStatsDbController>();
     _categoryController        = StartUp.ServiceProvider.GetService <ICategoryController>();
 }
Пример #3
0
 public QuizOverViewModel(INavigation nav)
 {
     _navigation               = nav;
     _playerStatDbController   = StartUp.ServiceProvider.GetService <IPlayerStatsDbController>();
     _categoryStatDbController = StartUp.ServiceProvider.GetService <ICategoryStatsDbController>();
 }