Back to Website
Show / Hide Table of Contents

Class ColorDictionaryConverter

Inheritance
System.Object
ColorDictionaryConverter
Namespace: Aurigma.DesignAtoms.Serialization.Json.Product
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ColorDictionaryConverter : JsonConverter<Dictionary<Color, Color>>

Constructors

ColorDictionaryConverter()

Declaration
public ColorDictionaryConverter()

Methods

ReadJson(JsonReader, Type, Dictionary<Color, Color>, Boolean, JsonSerializer)

Declaration
public override Dictionary<Color, Color> ReadJson(JsonReader reader, Type objectType, Dictionary<Color, Color> existingValue, bool hasExistingValue, JsonSerializer serializer)
Parameters
Type Name Description
Newtonsoft.Json.JsonReader reader
System.Type objectType
System.Collections.Generic.Dictionary<Color, Color> existingValue
System.Boolean hasExistingValue
Newtonsoft.Json.JsonSerializer serializer
Returns
Type Description
System.Collections.Generic.Dictionary<Color, Color>

WriteJson(JsonWriter, Dictionary<Color, Color>, JsonSerializer)

Declaration
public override void WriteJson(JsonWriter writer, Dictionary<Color, Color> value, JsonSerializer serializer)
Parameters
Type Name Description
Newtonsoft.Json.JsonWriter writer
System.Collections.Generic.Dictionary<Color, Color> value
Newtonsoft.Json.JsonSerializer serializer
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback