Chain.Then<T,R> Methode

Definition

Führe eine Aktion nach Abschluss IDialog<TResult> aus.

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

Typparameter

T

Die Art des Dialogs.

R

Sie tippen durch Aktion zurück.

Parameter

Antecedent
IDialog<T>

Das Vorzededent IDialog<TResult>.

Action
Func<IBotContext,IAwaitable<T>,Task<R>>

Die Aktion, die nach Abschluss des antezedenten Dialogs aufgerufen wird.

Gibt zurück

IDialog<R>

Der vorausgehende Dialog.

Gilt für: