次の方法で共有


ResolutionBase Class

Definition

The abstract base class for entity resolutions. Please note ResolutionBase 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 AgeResolution, AreaResolution, BooleanResolution, CurrencyResolution, DateTimeResolution, InformationResolution, LengthResolution, NumberResolution, NumericRangeResolution, OrdinalResolution, SpeedResolution, TemperatureResolution, TemporalSpanResolution, VolumeResolution and WeightResolution.

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

Constructors

ResolutionBase()

Initializes a new instance of ResolutionBase.

Explicit Interface Implementations

IJsonModel<ResolutionBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResolutionBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResolutionBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResolutionBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResolutionBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to