Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        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();
        }
Ejemplo n.º 4
0
        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();
        }
Ejemplo n.º 5
0
 public RestoMapPageViewModel(IRestoSource restoSource) {
     this.restoSource = restoSource;
     GetRestoMap();
 }
Ejemplo n.º 6
0
 public RestoMapPageViewModel(IRestoSource restoSource)
 {
     this.restoSource = restoSource;
     GetRestoMap();
 }