Class Color.ColorConverter
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class Color.ColorConverter : JsonConverter<Color>
- Inheritance
-
Color.ColorConverter
- Inherited Members
Constructors
ColorConverter()
public ColorConverter()
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
public override Color Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader
Utf8JsonReadertypeToConvert
Typeoptions
JsonSerializerOptions
Returns
Write(Utf8JsonWriter, Color, JsonSerializerOptions)
public override void Write(Utf8JsonWriter writer, Color value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWritervalue
Coloroptions
JsonSerializerOptions