Table of Contents

Class IComponentProperties.ComponentPropertiesConverter

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class IComponentProperties.ComponentPropertiesConverter : JsonConverter<IComponentProperties>
Inheritance
IComponentProperties.ComponentPropertiesConverter
Inherited Members

Constructors

ComponentPropertiesConverter()

public ComponentPropertiesConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

public override IComponentProperties Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

IComponentProperties

Write(Utf8JsonWriter, IComponentProperties, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, IComponentProperties component, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
component IComponentProperties
options JsonSerializerOptions