Dela via


Chain.Do<T> Metod

Definition

Kör en bieffekt när en IDialog<TResult> har slutförts.

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)

Typparametrar

T

Typ av dialogruta.

Parametrar

antecedent
IDialog<T>

Den tidigare IDialog<TResult>.

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

Motringningsmetoden.

Returer

IDialog<T>

Föregående dialogruta.

Gäller för