/// <summary> /// Initializes a new instance of the <see cref="BotDialogs"/> class. /// </summary> /// <param name="dialogState">The dialog state to use.</param> /// <param name="conversationData">The conversation data.</param> /// <param name="botServices">Bot services needed by the dialogs.</param> /// <param name="scale">The luggage scale.</param> public BotDialogs( IStatePropertyAccessor <DialogState> dialogState, IStatePropertyAccessor <ConversationData> conversationData, BotServices botServices, ILuggageScale scale) : base(dialogState) { _botServices = botServices; _conversationData = conversationData; Add(CreateRootDialog()); Add(CreateMenuDialog()); Add(CreateCheckinDialog()); Add(CreateSecurityQuestionDialog()); Add(CreateHeavyLuggageCheckDialog(scale)); Add(CreateThanksDialog()); Add(CreatePaymentDialog()); Add(CreateExtendedSecurityCheckDialog()); Add(new TextPrompt(PromptNames.MenuItem)); Add(new TextPrompt(PromptNames.SecurityQuestion)); Add(new TextPrompt(PromptNames.PaymentConfirmation)); Add(new TextPrompt(PromptNames.BoardingInformation)); }