public TeamMemberDialog(LuisRecognizerImpl luisRecognizer) : base(nameof(TeamMemberDialog)) { _luisRecognizer = luisRecognizer; AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { IntroStepAsync, ActStepAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public MainDialog(LuisRecognizerImpl luisRecognizer, ApplicationDialog applicationDialog, TeamMemberDialog teamMemberDialog, BankHolidayDialog bankHolidayDialog) : base(nameof(MainDialog)) { _luisRecognizer = luisRecognizer; AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(new DateTimePrompt(nameof(DateTimePrompt))); AddDialog(applicationDialog); AddDialog(teamMemberDialog); AddDialog(bankHolidayDialog); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { IntroStepAsync, ActStepAsync, })); InitialDialogId = nameof(WaterfallDialog); }