public MainDialog(V3V4State userState)
            : base(nameof(MainDialog))
        {
            _userState = userState;
            _v3State   = userState.CreateProperty <BotData>("V3State");

            AddDialog(new TextPrompt(nameof(TextPrompt)));
            AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[]
            {
                IntroStepAsync,
                NameStep,
                CityStep,
            }));

            // The initial child Dialog to run.
            InitialDialogId = nameof(WaterfallDialog);
        }
 public EchoBot(V3V4State userState, ConversationState conversationState, T dialog)
 {
     _userState         = userState;
     _conversationState = conversationState;
     Dialog             = dialog;
 }