Prompter<T> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
製作一個提詞器。
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>
欄位名稱查詢。 (預設為形式。)