Table of Contents

Method Write

Namespace
MailFathom.Application.Preferences
Assembly
MailFathom.Application.dll

Write(Utf8JsonWriter, ClientThemeChoice, JsonSerializerOptions)

Writes a specified value as JSON.

public override void Write(Utf8JsonWriter writer, ClientThemeChoice value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter

The writer to write to.

value ClientThemeChoice

The value to convert to JSON.

options JsonSerializerOptions

An object that specifies serialization options to use.

Exceptions

JsonException

Thrown when the value is the struct default rather than a choice.