Chain.Then<T,R> 메서드

정의

작업이 완료된 IDialog<TResult> 후 작업을 실행합니다.

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)

형식 매개 변수

T

대화 상자의 형식입니다.

R

작업에서 반환된 형식입니다.

매개 변수

Antecedent
IDialog<T>

선행 입니다 IDialog<TResult>.

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

선행 대화 상자가 완료된 후 호출될 작업입니다.

반환

IDialog<R>

선행 대화 상자입니다.

적용 대상