Langue

Confirmation<T> Constructeurs

Définition

Surcharges

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.

S’applique à