Chain.Where<T>(IDialog<T>, Func<T,Boolean>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Lorsque l’antécédent IDialog<TResult> est terminé, évaluez le prédicat et décidez de continuer.
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)
Paramètres de type
- T
Le type de dialogue précédent.
Paramètres
- antecedent
- IDialog<T>
Le dialogue IDialog<TResult>antécédent.
Retours
Le résultat de l’antécédent IDialog<TResult> ou de son annulation, enveloppé dans un IDialog<TResult>.