public ActivityRouterDialog(DialogSkillBotRecognizer luisRecognizer) : base(nameof(ActivityRouterDialog)) { _luisRecognizer = luisRecognizer; AddDialog(new BookingDialog()); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { ProcessActivityAsync })); // The initial child Dialog to run. InitialDialogId = nameof(WaterfallDialog); }
public ActivityRouterDialog(DialogSkillBotRecognizer luisRecognizer, ConversationState conversationState, SkillConversationIdFactoryBase conversationIdFactory, SkillHttpClient skillClient, IConfiguration configuration) : base(nameof(ActivityRouterDialog)) { _luisRecognizer = luisRecognizer; AddDialog(new BookingDialog()); AddDialog(new OAuthTestDialog(configuration)); // SkillDialog used to call EchoSkill var echoSkillDialog = CreateEchoSkillDialog(conversationState, conversationIdFactory, skillClient, configuration); AddDialog(echoSkillDialog); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { ProcessActivityAsync })); // The initial child Dialog to run. InitialDialogId = nameof(WaterfallDialog); }