Language

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

EFのパターン \r説明やプロンプトのフォーマットに関する注釈。

form
IForm<T>

現在の形態。

recognizer
IRecognize<T>

もし認識があれば教えてください。

fields
IFields<T>

フィールド名検索。 (フォームにデフォルトで使われます。)

適用対象