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
Utf8JsonReadertypeToConvert
Typeoptions
JsonSerializerOptions
Returns
Write(Utf8JsonWriter, ImmutableDictionary<ulong, JsonGuildScheduledEvent>, JsonSerializerOptions)
public override void Write(Utf8JsonWriter writer, ImmutableDictionary<ulong, JsonGuildScheduledEvent> value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWritervalue
ImmutableDictionary<ulong, JsonGuildScheduledEvent>options
JsonSerializerOptions