public InfoViewModel( INavigationService navigationService, IPageDialogService pageDialogService, IFeedbackEndpointService feedbackEndpointService) { NavigationService = navigationService; PageDialogService = pageDialogService; FeedbackEndpointService = feedbackEndpointService; Pages = new ObservableCollection <Tile>(); InfoSelected = new DelegateCommand <Tile>(OnInfoSelected); }
public FeedbackViewModel( IPageDialogService pageDialogService, INavigationService navigationService, IFeedbackService feedbackService, IFeedbackEndpointService feedbackEndpointService, IErrorRetryManager errorRetryManager, IEndpointService endpointService, ICompleteMessageService completeMessageService) { PageDialogService = pageDialogService; NavigationService = navigationService; FeedbackService = feedbackService; FeedbackEndpointService = feedbackEndpointService; ErrorRetryManager = errorRetryManager; EndpointService = endpointService; CompleteMessageService = completeMessageService; Submit = new DelegateCommand(OnSubmit); Questions = new ObservableCollection <SurveyQuestion>(); }