Confirmation<T> Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Confirmation<T>(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>, IForm<T>) |
Maak dynamisch een bevestiging. |
| Confirmation<T>(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>, IForm<T>) |
Maak een bevestiging. |
Confirmation<T>(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)
- Bron:
- Confirmation.cs
Maak dynamisch een bevestiging.
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>
Gemachtigde voor bevestiging van het gebouw.
- condition
- ActiveDelegate<T>
Delegeer om te zien of de bevestiging actief is.
- dependencies
- IEnumerable<String>
Velden die waarden moeten bevatten voordat de 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
Maak een bevestiging.
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 uitgedrukt met behulp van \ref-patronen.
- condition
- ActiveDelegate<T>
Delegeren of de bevestiging van toepassing is.
- dependencies
- IEnumerable<String>
Velden die waarden moeten bevatten voordat de bevestiging kan worden uitgevoerd.
- form
- IForm<T>
Formulier met bevestiging.