ChatFinishReason.Converter Class
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.
Provides a JsonConverter<T> for serializing ChatRole instances.
public: ref class ChatFinishReason::Converter sealed : System::Text::Json::Serialization::JsonConverter<Microsoft::Extensions::AI::ChatFinishReason>
public sealed class ChatFinishReason.Converter : System.Text.Json.Serialization.JsonConverter<Microsoft.Extensions.AI.ChatFinishReason>
type ChatFinishReason.Converter = class
inherit JsonConverter<ChatFinishReason>
Public NotInheritable Class ChatFinishReason.Converter
Inherits JsonConverter(Of ChatFinishReason)
- Inheritance
Handle |
Gets a value that indicates whether |
Type |
Gets the type being converted by the current converter instance. (Inherited from JsonConverter<T>) |
Can |
Determines whether the specified type can be converted. (Inherited from JsonConverter<T>) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Read(Utf8Json |
Reads and converts the JSON to type |
Read |
Reads a dictionary key from a JSON property name. (Inherited from JsonConverter<T>) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Write(Utf8Json |
Writes a specified value as JSON. |
Write(Utf8Json |
Writes a specified value as JSON. (Inherited from JsonConverter<T>) |
Write |
Writes a dictionary key as a JSON property name. (Inherited from JsonConverter<T>) |
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: