Confirmation<T> Constructeurs
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.
Surcharges
| Nom | Description |
|---|---|
| Confirmation<T>(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>, IForm<T>) |
Construis une confirmation de façon dynamique. |
| Confirmation<T>(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>, IForm<T>) |
Construis une confirmation. |
Confirmation<T>(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)
- Source:
- Confirmation.cs
Construis une confirmation de façon dynamique.
public Confirmation(Microsoft.Bot.Builder.FormFlow.MessageDelegate<T> generateMessage, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition, System.Collections.Generic.IEnumerable<string> dependencies, Microsoft.Bot.Builder.FormFlow.IForm<T> form);
new Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation<'T (requires 'T : null)> : Microsoft.Bot.Builder.FormFlow.MessageDelegate<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> * Microsoft.Bot.Builder.FormFlow.IForm<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation<'T (requires 'T : null)>
Public Sub New (generateMessage As MessageDelegate(Of T), condition As ActiveDelegate(Of T), dependencies As IEnumerable(Of String), form As IForm(Of T))
Paramètres
- generateMessage
- MessageDelegate<T>
Déléguez pour la confirmation du bâtiment.
- condition
- ActiveDelegate<T>
Déléguez pour voir si la confirmation est active.
- dependencies
- IEnumerable<String>
Les champs qui doivent avoir des valeurs avant la confirmation peuvent s’exécuter.
- form
- IForm<T>
Formulaire contenant une confirmation.
S’applique à
Confirmation<T>(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)
- Source:
- Confirmation.cs
Construis une confirmation.
public Confirmation(Microsoft.Bot.Builder.FormFlow.PromptAttribute prompt, Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition, System.Collections.Generic.IEnumerable<string> dependencies, Microsoft.Bot.Builder.FormFlow.IForm<T> form);
new Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation<'T (requires 'T : null)> : Microsoft.Bot.Builder.FormFlow.PromptAttribute * Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> * seq<string> * Microsoft.Bot.Builder.FormFlow.IForm<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation<'T (requires 'T : null)>
Public Sub New (prompt As PromptAttribute, condition As ActiveDelegate(Of T), dependencies As IEnumerable(Of String), form As IForm(Of T))
Paramètres
- prompt
- PromptAttribute
Prompt de confirmation exprimé en utilisant \rmotifs ef.
- condition
- ActiveDelegate<T>
Déléguez pour savoir si la confirmation s’applique.
- dependencies
- IEnumerable<String>
Les champs qui doivent avoir des valeurs avant la confirmation peuvent s’exécuter.
- form
- IForm<T>
Formulaire contenant une confirmation.