Chain.Select<T,R>(IDialog<T>, Func<T,R>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>.