Beispiel #1
0
 public ExamViewModel(IMvxNavigationService navigationService, IAdunisSync adunisSync, IAdunisRepository adunisRepository, ILogging logging)
 {
     this.NavigationService = navigationService;
     this.adunisSync        = adunisSync;
     this.adunisRepository  = adunisRepository;
     this.logging           = logging;
 }
Beispiel #2
0
 public AdunisViewModel(IMvxNavigationService navigationService, IAdunisRepository adunisRepository, IAdunisSync adunisSync, IUserInteractionService userInteraction)
 {
     this.NavigationService = navigationService;
     this.adunisRepository  = adunisRepository;
     this.adunisSync        = adunisSync;
     this.userInteraction   = userInteraction;
 }
        public TimetableViewModel(IMvxNavigationService navigationService, IAdunisRepository adunisRepository, IAdunisSync adunisSync, ILogging logging)
        {
            this.NavigationService = navigationService;
            this.adunisRepository  = adunisRepository;
            this.adunisSync        = adunisSync;
            this.logging           = logging;

            this.OnPropertyChanged(() => this.CurrentWeek, () =>
            {
                if (this.CurrentWeek == null)
                {
                    return;
                }

                this.LoadFromCache(this.CurrentWeek.Start);
            });
        }