public void Connected()
        {
            var card = new MainOptionsCard(true);

            card.Buttons.Should().HaveCount(6);
        }
示例#2
0
        private async Task IntentVerOpciones(WaterfallStepContext stepContext, RecognizerResult luisResult, CancellationToken cancellationToken)
        {
            await stepContext.Context.SendActivityAsync("Aquí tengo mis opciones", cancellationToken : cancellationToken);

            await MainOptionsCard.ToShow(stepContext, cancellationToken);
        }
        public void NotConnected()
        {
            var card = new MainOptionsCard(false);

            card.Buttons.Should().HaveCount(1);
        }
示例#4
0
        private async Task IntentVerOpciones(WaterfallStepContext stepContext, RecognizerResult luisResult, CancellationToken cancellationToken)
        {
            await stepContext.Context.SendActivityAsync("**Te mostraré como puedo ayudarte** 👌", cancellationToken : cancellationToken);

            await MainOptionsCard.ToShow(stepContext, cancellationToken);
        }