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; }
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); }