Compartilhar via


DictionaryExample Class

Definition

Dictionary Example.

public class DictionaryExample : System.ClientModel.Primitives.IJsonModel<Azure.AI.Translation.Text.DictionaryExample>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Translation.Text.DictionaryExample>
public class DictionaryExample
type DictionaryExample = class
    interface IJsonModel<DictionaryExample>
    interface IPersistableModel<DictionaryExample>
type DictionaryExample = class
Public Class DictionaryExample
Implements IJsonModel(Of DictionaryExample), IPersistableModel(Of DictionaryExample)
Public Class DictionaryExample
Inheritance
DictionaryExample
Implements

Properties

SourcePrefix

The string to concatenate before the value of sourceTerm to form a complete example. Do not add a space character, since it is already there when it should be. This value may be an empty string.

SourceSuffix

The string to concatenate after the value of sourceTerm to form a complete example. Do not add a space character, since it is already there when it should be. This value may be an empty string.

SourceTerm

A string equal to the actual term looked up. The string is added with sourcePrefix and sourceSuffix to form the complete example. Its value is separated so it can be marked in a user interface, e.g., by bolding it.

TargetPrefix

A string similar to sourcePrefix but for the target.

TargetSuffix

A string similar to sourceSuffix but for the target.

TargetTerm

A string similar to sourceTerm but for the target.

Explicit Interface Implementations

IJsonModel<DictionaryExample>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DictionaryExample>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DictionaryExample>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DictionaryExample>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DictionaryExample>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to