コード例 #1
0
 public SaveFeedbackCommand(FeedbackViewModel viewModel,
                            IFeedbackService feedbackService,
                            IAuthenticationService authenticationService) : base(viewModel, authenticationService)
 {
     _viewModel       = viewModel;
     _feedbackService = feedbackService;
 }
コード例 #2
0
        public IAsyncCommand GetSaveFeedbackCommand(FeedbackViewModel viewModel)
        {
            var feedbackService       = _container.Resolve <IFeedbackService>();
            var authenticationService = _container.Resolve <IAuthenticationService>();

            return(new SaveFeedbackCommand(viewModel, feedbackService, authenticationService));
        }
コード例 #3
0
 public StopRecordingCommand(FeedbackViewModel viewModel)
 {
     _viewModel = viewModel;
 }
コード例 #4
0
 public SpeechToTextCommand(FeedbackViewModel viewModel, ISpeechService speechService)
 {
     _viewModel     = viewModel;
     _speechService = speechService;
 }
コード例 #5
0
        public IAsyncCommand GetSpeechToTextCommand(FeedbackViewModel viewModel)
        {
            var speechService = _container.Resolve <ISpeechService>();

            return(new SpeechToTextCommand(viewModel, speechService));
        }