Chain.Select<T,R>(IDialog<T>, Func<T,R>) Method

Definition

When the antecedent IDialog<TResult> has completed, project the result into a new IDialog<TResult>.

public static Microsoft.Bot.Builder.Dialogs.IDialog<R> Select<T,R> (this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent, Func<T,R> selector);
static member Select : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * Func<'T, 'R> -> Microsoft.Bot.Builder.Dialogs.IDialog<'R>
<Extension()>
Public Function Select(Of T, R) (antecedent As IDialog(Of T), selector As Func(Of T, R)) As IDialog(Of R)

Type Parameters

T

The type of the antecedent dialog.

R

The type of the projected dialog.

Parameters

antecedent
IDialog<T>

The antecedent dialog IDialog<TResult>.

selector
Func<T,R>

The projection function from T to R.

Returns

IDialog<R>

The result IDialog<TResult>.

Applies to