語言

Prompter<T> 類別

定義

一個提示與識別器合而為一。

public sealed class Prompter<T> : Microsoft.Bot.Builder.FormFlow.Advanced.IPrompt<T> where T : class
type Prompter<'T (requires 'T : null)> = class
    interface IPrompt<'T (requires 'T : null)>
Public NotInheritable Class Prompter(Of T)
Implements IPrompt(Of T)

類型參數

T

不明顯的形態類型。

繼承
Prompter<T>
實作

建構函式

名稱 Description
Prompter<T>(TemplateBaseAttribute, IForm<T>, IRecognize<T>, IFields<T>)

製作一個提詞器。

屬性

名稱 Description
Annotation

一個提示與識別器合而為一。

Recognizer

一個提示與識別器合而為一。

方法

名稱 Description
Prompt(T, IField<T>, Object[])

一個提示與識別器合而為一。

ValidatePattern(IForm<T>, String, IField<T>, Int32)

驗證模式時,確保它們參考的是真實欄位。

適用於