/// <summary> /// Builds a free-text entry prompt /// </summary> /// <param name="dialogs">the dialog collection</param> /// <param name="factory">the factory used to create dialogs</param> /// <param name="dialogName">the name of the prompt</param> /// <param name="prompt">the text to display to a user</param> /// <param name="nextStep">the name of the step to proceed to</param> /// <returns> /// The <see cref="DialogSet"/>. /// </returns> public static DialogSet WithFreeTextEntry( this DialogSet dialogs, IDialogFactory <DialogSet> factory, string dialogName, string prompt, IDialogStep nextStep) { return(factory.BuildFreeTextDialog(dialogs, dialogName, prompt, nextStep)); }