Idioma

Confirmation<T> Construtores

Definição

Sobrecargas

Confirmation<T>(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)

Origem:
Confirmation.cs

Construa uma confirmação dinamicamente.

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))

Parâmetros

generateMessage
MessageDelegate<T>

Delegue para a confirmação do prédio.

condition
ActiveDelegate<T>

Delegue para ver se a confirmação está ativa.

dependencies
IEnumerable<String>

Campos que precisam ter valores antes da confirmação podem ser executados.

form
IForm<T>

Formulário que contém confirmação.

Aplica-se a

Confirmation<T>(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)

Origem:
Confirmation.cs

Construa uma confirmação.

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))

Parâmetros

prompt
PromptAttribute

Prompt de confirmação expresso usando \rpadrões de ef.

condition
ActiveDelegate<T>

Delegue para saber se a confirmação se aplica.

dependencies
IEnumerable<String>

Campos que precisam ter valores antes da confirmação podem ser executados.

form
IForm<T>

Formulário que contém confirmação.

Aplica-se a