Esempio n. 1
0
 public override void Handle(CommandTextAcquiredEvent message)
 {
     RunInBusyContextWithErrorFeedback(async() =>
     {
         var recognitionResult = await _intentRecognizer.InterpretIntent(message);
         _eventAggregator.Publish(new IntentRecognitionCompletionEvent(recognitionResult));
     });
 }
Esempio n. 2
0
        public async void ResponseIsNotEmpty()
        {
            var response = await _recognizer.InterpretIntent(new CommandTextAcquiredEvent(TurnOnTheTvCommand));

            Assert.IsNotNull(response);
        }