/// <summary> /// Builds a new binary choice prompt /// </summary> /// <param name="dialogs"> The dialogs collection. </param> /// <param name="factory"> The factory used for building dialogs. </param> /// <param name="promptName"> The name of the prompt, to be used in other dialogs. </param> /// <param name="listStyle"> The style of dialog options list. </param> /// <returns> /// The <see cref="DialogSet"/>. /// </returns> public static DialogSet WithChoicePrompt( this DialogSet dialogs, IDialogFactory <DialogSet> factory, string promptName, ListStyle listStyle = ListStyle.Auto) { return(factory.BuildChoicePrompt(dialogs, promptName, listStyle)); }