Prompter<T> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个提示和识别器打包在一起。
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) |
通过确保模式指向真实字段来验证模式。 |