ChatFinishReason.Converter 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.
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
Constructors
ChatFinishReason.Converter() |
Properties
HandleNull |
Gets a value that indicates whether |
Type |
Gets the type being converted by the current converter instance. (Inherited from JsonConverter<T>) |
Methods
CanConvert(Type) |
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) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Read(Utf8JsonReader, Type, JsonSerializerOptions) | |
ReadAsPropertyName(Utf8JsonReader, Type, JsonSerializerOptions) |
Reads a dictionary key from a JSON property name. (Inherited from JsonConverter<T>) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Write(Utf8JsonWriter, ChatFinishReason, JsonSerializerOptions) | |
Write(Utf8JsonWriter, T, JsonSerializerOptions) |
Writes a specified value as JSON. (Inherited from JsonConverter<T>) |
WriteAsPropertyName(Utf8JsonWriter, T, JsonSerializerOptions) |
Writes a dictionary key as a JSON property name. (Inherited from JsonConverter<T>) |