語言

Prompter<T> 建構函式

定義

製作一個提詞器。

public Prompter(Microsoft.Bot.Builder.FormFlow.Advanced.TemplateBaseAttribute annotation, Microsoft.Bot.Builder.FormFlow.IForm<T> form, Microsoft.Bot.Builder.FormFlow.Advanced.IRecognize<T> recognizer, Microsoft.Bot.Builder.FormFlow.Advanced.IFields<T> fields = default);
new Microsoft.Bot.Builder.FormFlow.Advanced.Prompter<'T (requires 'T : null)> : Microsoft.Bot.Builder.FormFlow.Advanced.TemplateBaseAttribute * Microsoft.Bot.Builder.FormFlow.IForm<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.Advanced.IRecognize<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.Advanced.IFields<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.Advanced.Prompter<'T (requires 'T : null)>
Public Sub New (annotation As TemplateBaseAttribute, form As IForm(Of T), recognizer As IRecognize(Of T), Optional fields As IFields(Of T) = Nothing)

參數

annotation
TemplateBaseAttribute

註解說明 \ref模式與提示格式。

form
IForm<T>

目前的樣子。

recognizer
IRecognize<T>

如果有的話,Recognizer。

fields
IFields<T>

欄位名稱查詢。 (預設為形式。)

適用於