Confirmation<T> Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| Confirmation<T>(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>, IForm<T>) |
Konstruera en bekräftelse dynamiskt. |
| Confirmation<T>(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>, IForm<T>) |
Konstruera en bekräftelse. |
Confirmation<T>(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)
- Källa:
- Confirmation.cs
Konstruera en bekräftelse dynamiskt.
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))
Parametrar
- generateMessage
- MessageDelegate<T>
Delegera för byggnadsbekräftelse.
- condition
- ActiveDelegate<T>
Delegera för att se om bekräftelsen är aktiv.
- dependencies
- IEnumerable<String>
Fält som måste ha värden innan bekräftelse kan köras.
- form
- IForm<T>
Formulär som innehåller bekräftelse.
Gäller för
Confirmation<T>(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)
- Källa:
- Confirmation.cs
Konstruera en bekräftelse.
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))
Parametrar
- prompt
- PromptAttribute
Bekräftelseprompt uttryckt med \rEF-mönster.
- condition
- ActiveDelegate<T>
Delegera om bekräftelse gäller.
- dependencies
- IEnumerable<String>
Fält som måste ha värden innan bekräftelse kan köras.
- form
- IForm<T>
Formulär som innehåller bekräftelse.