PromptValidatorContext<T> 类

定义

包含 的 PromptValidator<T>上下文信息。

public class PromptValidatorContext<T>
type PromptValidatorContext<'T> = class
Public Class PromptValidatorContext(Of T)

类型参数

T

提示返回的值的类型。

继承
PromptValidatorContext<T>

属性

AttemptCount

获取此提示实例已执行的次数。

Context

TurnContext获取与用户的当前会话轮次的 。

Options

PromptOptions获取用于此识别尝试的 。

Recognized

PromptRecognizerResult<T>获取从提示的识别尝试返回的 。

State

获取关联的提示实例的状态。

适用于