コード例 #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);
        }
コード例 #2
0
 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);
        }
コード例 #4
0
        public SelectSessionPageViewModel(INavigationService navigationService, ISpeakSessionRepository speakSessionRepository) : base(navigationService)
        {
            this.speakSessionRepository = speakSessionRepository;

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