Table of Contents

Class JsonGuildScheduledEventArrayToImmutableDictionaryConverter

Namespace
NetCord.JsonConverters
Assembly
NetCord.dll
public class JsonGuildScheduledEventArrayToImmutableDictionaryConverter : JsonConverter<ImmutableDictionary<ulong, JsonGuildScheduledEvent>>
Inheritance
JsonGuildScheduledEventArrayToImmutableDictionaryConverter
Inherited Members

Constructors

JsonGuildScheduledEventArrayToImmutableDictionaryConverter()

public JsonGuildScheduledEventArrayToImmutableDictionaryConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

public override ImmutableDictionary<ulong, JsonGuildScheduledEvent>? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

ImmutableDictionary<ulong, JsonGuildScheduledEvent>

Write(Utf8JsonWriter, ImmutableDictionary<ulong, JsonGuildScheduledEvent>, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, ImmutableDictionary<ulong, JsonGuildScheduledEvent> value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
value ImmutableDictionary<ulong, JsonGuildScheduledEvent>
options JsonSerializerOptions