public override async Task DialogRepromptAsync(ITurnContext turnContext, DialogInstance instance, CancellationToken cancellationToken = default(CancellationToken)) { // Delegate to inner dialog. var dialogState = (DialogState)instance.State[PersistedDialogState]; var innerDc = new DialogContext(_dialogs, turnContext, dialogState); await innerDc.RepromptAsync(cancellationToken).ConfigureAwait(false); // Notify component await OnDialogRepromptAsync(turnContext, instance, cancellationToken).ConfigureAwait(false); }
protected virtual async Task OnDialogRepromptAsync(DialogContext dc, CancellationToken cancellationToken = default(CancellationToken)) { await dc.RepromptAsync(cancellationToken).ConfigureAwait(false); }
protected virtual async Task OnDialogRepromptAsync(DialogContext dc) { await dc.RepromptAsync().ConfigureAwait(false); }