EntityOverlapPolicy Class

Definition

The abstract base class for entity OverlapPolicy. Please note EntityOverlapPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AllowOverlapEntityPolicyType and MatchLongestEntityPolicyType.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Language.Text.UnknownEntityOverlapPolicy))]
public abstract class EntityOverlapPolicy : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.EntityOverlapPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.EntityOverlapPolicy>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Language.Text.UnknownEntityOverlapPolicy))>]
type EntityOverlapPolicy = class
    interface IJsonModel<EntityOverlapPolicy>
    interface IPersistableModel<EntityOverlapPolicy>
Public MustInherit Class EntityOverlapPolicy
Implements IJsonModel(Of EntityOverlapPolicy), IPersistableModel(Of EntityOverlapPolicy)
Inheritance
EntityOverlapPolicy
Derived
Attributes
Implements

Constructors

EntityOverlapPolicy()

Initializes a new instance of EntityOverlapPolicy.

Explicit Interface Implementations

IJsonModel<EntityOverlapPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EntityOverlapPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntityOverlapPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EntityOverlapPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EntityOverlapPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to