Back to Website
Show / Hide Table of Contents

Class ImageSourceConverter

Inheritance
System.Object
ImageSourceConverter
Namespace: Aurigma.DesignAtoms.Serialization.Json
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ImageSourceConverter : JsonConverter

Constructors

ImageSourceConverter(IFileCache, IImageLoader, IFontService, ISvgReaderFactory, ISerializableStorage, ISerializableStorage, Boolean)

Declaration
public ImageSourceConverter(IFileCache fileCache, IImageLoader imageLoader, IFontService fontService, ISvgReaderFactory svgReaderFactory, ISerializableStorage runTimeStorage = null, ISerializableStorage serializationStorage = null, bool convertUrlSourcesToStorage = false)
Parameters
Type Name Description
IFileCache fileCache
IImageLoader imageLoader
IFontService fontService
ISvgReaderFactory svgReaderFactory
ISerializableStorage runTimeStorage
ISerializableStorage serializationStorage
System.Boolean convertUrlSourcesToStorage

Methods

CanConvert(Type)

Declaration
public override bool CanConvert(Type checkType)
Parameters
Type Name Description
System.Type checkType
Returns
Type Description
System.Boolean

ReadJson(JsonReader, Type, Object, JsonSerializer)

Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type Name Description
Newtonsoft.Json.JsonReader reader
System.Type objectType
System.Object existingValue
Newtonsoft.Json.JsonSerializer serializer
Returns
Type Description
System.Object

WriteJson(JsonWriter, Object, JsonSerializer)

Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Type Name Description
Newtonsoft.Json.JsonWriter writer
System.Object 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