Class ItemConverter
Inheritance
System.Object
ItemConverter
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ItemConverter : BaseTypeConverter<BaseItem>
Constructors
ItemConverter(ILifetimeScope)
Declaration
public ItemConverter(ILifetimeScope scope)
Parameters
| Type |
Name |
Description |
| Autofac.ILifetimeScope |
scope |
|
Methods
CanConvert(Type)
Declaration
public override bool CanConvert(Type objectType)
Parameters
| Type |
Name |
Description |
| System.Type |
objectType |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
Aurigma.DesignAtoms.Serialization.Json.BaseTypeConverter<Aurigma.DesignAtoms.Model.Items.BaseItem>.CanConvert(System.Type)
GetFontSubstitutionService()
Declaration
protected IFontSubstitutionService GetFontSubstitutionService()
Returns
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
Aurigma.DesignAtoms.Serialization.Json.BaseTypeConverter<Aurigma.DesignAtoms.Model.Items.BaseItem>.ReadJson(Newtonsoft.Json.JsonReader, System.Type, System.Object, Newtonsoft.Json.JsonSerializer)