RegexPatternAttribute 类

定义

此属性用于指定在应用正则表达式 scorable 时要使用的正则表达式模式。

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

构造函数

RegexPatternAttribute(String)

RegexPatternAttribute构造 。

字段

Pattern

正则表达式模式。

属性

Text

此属性用于指定在应用正则表达式 scorable 时要使用的正则表达式模式。

(继承自 AttributeString)

方法

Equals(Object)

此属性用于指定在应用正则表达式 scorable 时要使用的正则表达式模式。

(继承自 AttributeString)
GetHashCode()

此属性用于指定在应用正则表达式 scorable 时要使用的正则表达式模式。

(继承自 AttributeString)
ToString()

此属性用于指定在应用正则表达式 scorable 时要使用的正则表达式模式。

(继承自 AttributeString)

显式接口实现

IEquatable<AttributeString>.Equals(AttributeString)

此属性用于指定在应用正则表达式 scorable 时要使用的正则表达式模式。

(继承自 AttributeString)

适用于