Taal

Confirmation<T> Constructors

Definitie

Overloads

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

Bron:
Confirmation.cs

Bouw een bevestiging dynamisch op.

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

Parameters

generateMessage
MessageDelegate<T>

Delegeer voor bevestiging van het gebouw.

condition
ActiveDelegate<T>

Delegeer om te zien of bevestiging actief is.

dependencies
IEnumerable<String>

Velden die waarden moeten hebben voordat bevestiging kan worden uitgevoerd.

form
IForm<T>

Formulier met bevestiging.

Van toepassing op

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

Bron:
Confirmation.cs

Bouw een bevestiging op.

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

Parameters

prompt
PromptAttribute

Bevestigingsprompt gedrukt met \ref-patronen.

condition
ActiveDelegate<T>

Delegeer of bevestiging van toepassing is.

dependencies
IEnumerable<String>

Velden die waarden moeten hebben voordat bevestiging kan worden uitgevoerd.

form
IForm<T>

Formulier met bevestiging.

Van toepassing op