Пример #1
0
        public SettingsPageViewModel(INavigationService navigationService, IAttendeeRepository attendeeRepository, ISpeakSessionRepository SpeakSessionRepository) : base(navigationService)
        {
            this.attendeeRepository = attendeeRepository;
            speakSessionRepository  = SpeakSessionRepository;

            GoBackCommand = new DelegateCommand(GoBack);
            UpdateCommand = new DelegateCommand(Update);
        }
 public InitializeSegwayPageViewModel(INavigationService navigationService, IApplicationStore applicationStore, IAttendeeRepository attendeeRepository, ISpeakSessionRepository speakSessionRepository) : base(navigationService)
 {
     this.applicationStore       = applicationStore;
     this.attendeeRepository     = attendeeRepository;
     this.speakSessionRepository = speakSessionRepository;
 }
Пример #3
0
        public SelectRoomPageViewModel(INavigationService navigationService, ISpeakSessionRepository speakSessionRepository) : base(navigationService)
        {
            this.speakSessionRepository = speakSessionRepository;

            SelectCommand = new DelegateCommand(SelectRoom, IsRoomSelected).ObservesProperty(() => SelectedRoom);
        }
        public SelectSessionPageViewModel(INavigationService navigationService, ISpeakSessionRepository speakSessionRepository) : base(navigationService)
        {
            this.speakSessionRepository = speakSessionRepository;

            SelectCommand = new DelegateCommand(SelectSession, () => SelectedSession != null).ObservesProperty(() => SelectedSession);
        }