public EditPageViewModel(IConnectionHandler connectionHandler, ReviewDataCollector dataCollector, ThankYouPageViewModel thankYouPageViewModel, INavigation navigation) { this.connectionHandler = connectionHandler; this.dataCollector = dataCollector; this.thankYouPageViewModel = thankYouPageViewModel; this.navigation = navigation; }
public MainPageViewModel( IDialogService dialogService, INavigation navigation, IPageFactory pageFactory, IReviewPageViewModel reviewPageViewModel, IConnectionHandler connectionHandler, ThankYouPageViewModel thankYouPageViewModel, MasterPageViewModel masterPageViewModel, ILoginPageViewModel loginPageViewModel, EditPageViewModel editPageViewModel ) { this.dialogService = dialogService; this.navigation = navigation; this.pageFactory = pageFactory; this.reviewPageViewModel = reviewPageViewModel; this.connectionHandler = connectionHandler; this.editPageViewModel = editPageViewModel; ReviewsList = new ObservableCollection <ReviewMenuItem>(); GetReviewsByUser(); reviewPageViewModel.ViewModelReadyEvent += IntentReceiver_ItemsReceivedEvent; thankYouPageViewModel.ReviewDoneEvent += OnReviewDoneEvent; loginPageViewModel.LoginSuccessful += OnLoginStateChanged; MainPage.ItemSelected += OnReviewItemSelected; }
public ContextualQuestionsViewModel(IDialogService dialogService, ReviewDataCollector dataCollector, IPageFactory pageFactory, INavigation navigation, ThankYouPageViewModel thankYouPageViewModel) { this.dialogService = dialogService; this.dataCollector = dataCollector; this.pageFactory = pageFactory; this.navigation = navigation; this.thankYouPageViewModel = thankYouPageViewModel; }
public QuestionPageViewModel(IDialogService dialogService, ReviewDataCollector dataCollector, IPageFactory pageFactory, INavigation navigation, ThankYouPageViewModel thankYouPageViewModel) { this.dialogService = dialogService; this.dataCollector = dataCollector; this.pageFactory = pageFactory; this.navigation = navigation; this.thankYouPageViewModel = thankYouPageViewModel; resetEverythingOnThisPage(); }