public MainViewModel(IImagineCupService imagineCupService, IPersonService personService, IDreamsparkService dreamsparkService, IBlogService blogService) { _personService = personService; _imagineCupService = imagineCupService; _dreamsparkService = dreamsparkService; _blogService = blogService; blogLoaded = teamLoaded = false; ProgressBarVisibility = "Visible"; IsIndeterminate = "True"; GridVisibility = "Collapsed"; ProgressRingVisibility = "Visible"; ProgressRingActive = "True"; LoadPeople(); LoadEntries(); ImagineCupDescription = _imagineCupService.GetDescription(); ImagineCupImage = _imagineCupService.GetImageUrl(); Prizes = _imagineCupService.GetPrizes(); DreamsparkDescription = _dreamsparkService.GetBriefDescription(); }
public MainViewModel(IImagineCupService imagineCupService, IPersonService personService, IDreamsparkService dreamsparkService, IBlogService blogService) { _personService = personService; _imagineCupService = imagineCupService; _dreamsparkService = dreamsparkService; _blogService = blogService; blogLoaded = teamLoaded = false; ProgressBarVisibility = "Visible"; IsIndeterminate = "True"; GridVisibility = "Collapsed"; ProgressRingVisibility = "Visible"; ProgressRingActive = "True"; LoadPeople(); LoadEntries(); ImagineCupDescription = _imagineCupService.GetDescription(); ImagineCupImage = _imagineCupService.GetImageUrl(); Prizes = _imagineCupService.GetPrizes(); DreamsparkDescription = _dreamsparkService.GetBriefDescription(); }
public DreamsparkViewModel(IDreamsparkService dreamsparkService) { _dreamsparkService = dreamsparkService; Description = _dreamsparkService.GetDescription(); Authentication1 = _dreamsparkService.GetAuthentication1(); Authentication2 = _dreamsparkService.GetAuthentication2(); AuthenticationImage1 = _dreamsparkService.GetImage1Url(); AuthenticationImage2 = _dreamsparkService.GetImage2Url(); AuthenticationImage3 = _dreamsparkService.GetImage3Url(); Download1 = _dreamsparkService.GetDownload1(); Download2 = _dreamsparkService.GetDownload2(); Download3 = _dreamsparkService.GetDownload3(); Download4 = _dreamsparkService.GetDownload4(); DownloadImage1 = _dreamsparkService.GetDownloadImage1(); DownloadImage2 = _dreamsparkService.GetDownloadImage2(); DownloadImage3 = _dreamsparkService.GetDownloadImage3(); DownloadImage4 = _dreamsparkService.GetDownloadImage4(); Install = _dreamsparkService.GetInstall(); Recommendation = _dreamsparkService.GetRecommendation(); }
public DreamsparkViewModel(IDreamsparkService dreamsparkService) { _dreamsparkService = dreamsparkService; Description = _dreamsparkService.GetDescription(); Authentication1 = _dreamsparkService.GetAuthentication1(); Authentication2 = _dreamsparkService.GetAuthentication2(); AuthenticationImage1 = _dreamsparkService.GetImage1Url(); AuthenticationImage2 = _dreamsparkService.GetImage2Url(); AuthenticationImage3 = _dreamsparkService.GetImage3Url(); Download1 = _dreamsparkService.GetDownload1(); Download2 = _dreamsparkService.GetDownload2(); Download3 = _dreamsparkService.GetDownload3(); Download4 = _dreamsparkService.GetDownload4(); DownloadImage1 = _dreamsparkService.GetDownloadImage1(); DownloadImage2 = _dreamsparkService.GetDownloadImage2(); DownloadImage3 = _dreamsparkService.GetDownloadImage3(); DownloadImage4 = _dreamsparkService.GetDownloadImage4(); Install = _dreamsparkService.GetInstall(); Recommendation = _dreamsparkService.GetRecommendation(); }