Поделиться через


ExportedEntityRegexExpression Class

Definition

Represents a regex expression inside a regex component. This expression follows the .NET regex syntax. For reference, check here: https://learn.microsoft.com/dotnet/standard/base-types/regular-expressions.

public class ExportedEntityRegexExpression : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Authoring.ExportedEntityRegexExpression>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Authoring.ExportedEntityRegexExpression>
type ExportedEntityRegexExpression = class
    interface IJsonModel<ExportedEntityRegexExpression>
    interface IPersistableModel<ExportedEntityRegexExpression>
Public Class ExportedEntityRegexExpression
Implements IJsonModel(Of ExportedEntityRegexExpression), IPersistableModel(Of ExportedEntityRegexExpression)
Inheritance
ExportedEntityRegexExpression
Implements

Constructors

ExportedEntityRegexExpression()

Initializes a new instance of ExportedEntityRegexExpression.

Properties

Language

Represents the language of the regex expression. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc.

RegexKey

The key of the regex expression.

RegexPattern

The regex pattern.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExportedEntityRegexExpression>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ExportedEntityRegexExpression>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExportedEntityRegexExpression>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExportedEntityRegexExpression>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ExportedEntityRegexExpression>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to