コード例 #1
0
        public static void Choice(IDialogContext context, ResumeAfter <T> resume, CancelablePromptOptions <T> promptOptions)
        {
            var child = new CancelablePromptChoice <T>(promptOptions);

            context.Call(child, resume);
        }
コード例 #2
0
 public CancelablePromptChoice(CancelablePromptOptions <T> promptOptions)
     : base(promptOptions)
 {
     this.promptOptions = promptOptions;
 }