public void Connected() { var card = new MainOptionsCard(true); card.Buttons.Should().HaveCount(6); }
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); }
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); }