Method WriteAsPropertyName
- Namespace
- MailFathom.Domain.Mutations
- Assembly
- MailFathom.Domain.dll
WriteAsPropertyName(Utf8JsonWriter, MailboxMutationLifecycle, JsonSerializerOptions)
Writes a dictionary key as a JSON property name.
public override void WriteAsPropertyName(Utf8JsonWriter writer, MailboxMutationLifecycle value, JsonSerializerOptions options)
Parameters
writerUtf8JsonWriterThe Utf8JsonWriter to write to.
valueMailboxMutationLifecycleThe value to convert. The value of HandleNull determines if the converter handles null values.
optionsJsonSerializerOptionsThe options to use when writing the value.
Exceptions
- JsonException
Thrown when the value is the unspecified struct default.