Condividi tramite


OrdinalResolution Class

Definition

A resolution for ordinal numbers entity instances.

public class OrdinalResolution : Azure.AI.Language.Conversations.Models.ResolutionBase, System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.OrdinalResolution>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.OrdinalResolution>
type OrdinalResolution = class
    inherit ResolutionBase
    interface IJsonModel<OrdinalResolution>
    interface IPersistableModel<OrdinalResolution>
Public Class OrdinalResolution
Inherits ResolutionBase
Implements IJsonModel(Of OrdinalResolution), IPersistableModel(Of OrdinalResolution)
Inheritance
OrdinalResolution
Implements

Properties

Offset

The offset with respect to the reference (e.g., offset = -1 indicates the second to last).

RelativeTo

The reference point that the ordinal number denotes.

Value

A simple arithmetic expression that the ordinal denotes.

Explicit Interface Implementations

IJsonModel<OrdinalResolution>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OrdinalResolution>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<OrdinalResolution>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OrdinalResolution>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OrdinalResolution>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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)

Applies to