Auf Englisch lesen

Freigeben über


WeightResolution Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents the weight entity resolution model.

C#
public class WeightResolution : Azure.AI.Language.Conversations.Models.ResolutionBase, System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.WeightResolution>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.WeightResolution>
Inheritance
WeightResolution
Implements

Properties

Unit

The weight Unit of measurement.

Value

The numeric value that the extracted text denotes.

Methods

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.

(Inherited from ResolutionBase)
IJsonModel<ResolutionBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ResolutionBase)
IJsonModel<WeightResolution>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WeightResolution>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResolutionBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ResolutionBase)
IPersistableModel<ResolutionBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ResolutionBase)
IPersistableModel<ResolutionBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ResolutionBase)
IPersistableModel<WeightResolution>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WeightResolution>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WeightResolution>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Produkt Versionen
Azure SDK for .NET Preview