Table of Contents

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 Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

Color

Write(Utf8JsonWriter, Color, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, Color value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
value Color
options JsonSerializerOptions