Share via


RegexPatternAttribute Class

Definition

This attribute is used to specify the regular expression pattern to be used when applying the regular expression 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
Inheritance
RegexPatternAttribute
Attributes

Constructors

RegexPatternAttribute(String)

Construct the RegexPatternAttribute.

Fields

Pattern

The regular expression pattern.

Properties

Text (Inherited from AttributeString)

Methods

Equals(Object) (Inherited from AttributeString)
GetHashCode() (Inherited from AttributeString)
ToString() (Inherited from AttributeString)

Explicit Interface Implementations

IEquatable<AttributeString>.Equals(AttributeString) (Inherited from AttributeString)

Applies to