Table of Contents

Method WriteAsPropertyName

Namespace
MailFathom.Infrastructure.DataEncryption
Assembly
MailFathom.Infrastructure.dll

WriteAsPropertyName(Utf8JsonWriter, DataEncryptionPurpose, JsonSerializerOptions)

Writes a dictionary key as a JSON property name.

public override void WriteAsPropertyName(Utf8JsonWriter writer, DataEncryptionPurpose value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter

The Utf8JsonWriter to write to.

value DataEncryptionPurpose

The value to convert. The value of HandleNull determines if the converter handles null values.

options JsonSerializerOptions

The options to use when writing the value.

Exceptions

JsonException

Thrown when the value is the unspecified struct default.