Back to Website
Show / Hide Table of Contents

Class ShapeItemConverter

Inheritance
System.Object
BaseTypeConverter<BaseItem>
ItemConverter
ShapeItemConverter
Inherited Members
ItemConverter.GetFontSubstitutionService()
BaseTypeConverter<BaseItem>._childConverters
BaseTypeConverter<BaseItem>.ReadFromJObject(JObject, JsonSerializer)
Namespace: Aurigma.DesignAtoms.Serialization.Json
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ShapeItemConverter : ItemConverter

Constructors

ShapeItemConverter(ILifetimeScope, ISerializableStorage, ISerializableStorage)

Declaration
public ShapeItemConverter(ILifetimeScope scope, ISerializableStorage runTimeStorage = null, ISerializableStorage serializationStorage = null)
Parameters
Type Name Description
Autofac.ILifetimeScope scope
ISerializableStorage runTimeStorage
ISerializableStorage serializationStorage

Methods

CanConvert(Type)

Declaration
public override bool CanConvert(Type objectType)
Parameters
Type Name Description
System.Type objectType
Returns
Type Description
System.Boolean
Overrides
ItemConverter.CanConvert(Type)

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
Overrides
ItemConverter.ReadJson(JsonReader, Type, Object, JsonSerializer)

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
Overrides
Aurigma.DesignAtoms.Serialization.Json.BaseTypeConverter<Aurigma.DesignAtoms.Model.Items.BaseItem>.WriteJson(Newtonsoft.Json.JsonWriter, System.Object, Newtonsoft.Json.JsonSerializer)
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