LuisIntentAttribute 类

定义

将LUIS意图与对话方法关联起来。

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
[System.Serializable]
public class LuisIntentAttribute : Microsoft.Bot.Builder.Scorables.Internals.AttributeString
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
[<System.Serializable>]
type LuisIntentAttribute = class
    inherit AttributeString
Public Class LuisIntentAttribute
Inherits AttributeString
继承
LuisIntentAttribute
属性

构造函数

名称 说明
LuisIntentAttribute(String)

构建LUIS意图与对话方法之间的关联。

字段

名称 说明
IntentName

LUIS 意图名称。

属性

名称 说明
Text

将LUIS意图与对话方法关联起来。

方法

名称 说明
Equals(Object)

将LUIS意图与对话方法关联起来。

(继承自 AttributeString)
GetHashCode()

将LUIS意图与对话方法关联起来。

(继承自 AttributeString)
ToString()

将LUIS意图与对话方法关联起来。

(继承自 AttributeString)

显式接口实现

名称 说明
IEquatable<AttributeString>.Equals(AttributeString)

将LUIS意图与对话方法关联起来。

(继承自 AttributeString)

适用于