public HomePageViewModel(IResourceLoader resourceLoader, IRestoSource restoSource, IActivitySource activitySource) : base(resourceLoader) { this.restoSource = restoSource; this.activitySource = activitySource; this.WelcomeTitle = "Welkom bij Hydra!"; this.WelcomeText = "Welkom bij Hydra, de app voor alle UGent-studenten."; getRestoMenuToday(); getActivitiesToday(); }
public RestoPageViewModel(IRestoSource restoSource, INavigationService navigationService) { this.restoSource = restoSource; this.MapButton = new NavigationButtonViewModel(navigationService) { IconSource = "ms-appx:///Assets/Icons/Resto-MapIcon.png", DisplayName = "Kaart", PageToken = PageTokens.RestoMapPage }; this.RestoInfoList = new ObservableCollection<RestoMenu>(); GetRestoMenus(); GetRestoSandwichMenu(); }
public RestoPageViewModel(IRestoSource restoSource, INavigationService navigationService) { this.restoSource = restoSource; this.MapButton = new NavigationButtonViewModel(navigationService) { IconSource = "ms-appx:///Assets/Icons/Resto-MapIcon.png", DisplayName = "Kaart", PageToken = PageTokens.RestoMapPage }; this.RestoInfoList = new ObservableCollection <RestoMenu>(); GetRestoMenus(); GetRestoSandwichMenu(); }
public RestoMapPageViewModel(IRestoSource restoSource) { this.restoSource = restoSource; GetRestoMap(); }