语言

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>
实现

构造函数

名称 说明
Prompter<T>(TemplateBaseAttribute, IForm<T>, IRecognize<T>, IFields<T>)

制作一个提词器。

属性

名称 说明
Annotation

一个提示和识别器打包在一起。

Recognizer

一个提示和识别器打包在一起。

方法

名称 说明
Prompt(T, IField<T>, Object[])

一个提示和识别器打包在一起。

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

通过确保模式指向真实字段来验证模式。

适用于