Chain.Where<T>(IDialog<T>, Func<T,Boolean>) 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, evaluate the predicate and decide whether to continue.
public static Microsoft.Bot.Builder.Dialogs.IDialog<T> Where<T> (this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent, Func<T,bool> predicate);
static member Where : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * Func<'T, bool> -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
<Extension()>
Public Function Where(Of T) (antecedent As IDialog(Of T), predicate As Func(Of T, Boolean)) As IDialog(Of T)
Type Parameters
- T
The type of the antecedent dialog.
Parameters
- antecedent
- IDialog<T>
The antecedent dialog IDialog<TResult>.
Returns
IDialog<T>
The result from the antecedent IDialog<TResult> or its cancellation, wrapped in a IDialog<TResult>.