Langue

Chain.Do<T> Méthode

Définition

Effectuez un effet secondaire après la fin d’un IDialog<TResult> traitement.

public static Microsoft.Bot.Builder.Dialogs.IDialog<T> Do<T>(this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent, Func<Microsoft.Bot.Builder.Dialogs.IBotContext,Microsoft.Bot.Builder.Dialogs.IAwaitable<T>,System.Threading.Tasks.Task> callback);
static member Do : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * Func<Microsoft.Bot.Builder.Dialogs.IBotContext, Microsoft.Bot.Builder.Dialogs.IAwaitable<'T>, System.Threading.Tasks.Task> -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
<Extension()>
Public Function Do(Of T) (antecedent As IDialog(Of T), callback As Func(Of IBotContext, IAwaitable(Of T), Task)) As IDialog(Of T)

Paramètres de type

T

Le type de dialogue.

Paramètres

antecedent
IDialog<T>

L’antécédent IDialog<TResult>.

callback
Func<IBotContext,IAwaitable<T>,Task>

Méthode de rappel.

Retours

IDialog<T>

Le dialogue antécédent.

S’applique à