TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

ProductJsonConverter Constructor

Initializes a new instance of the ProductJsonConverter class.

Namespace: Aurigma.DesignAtoms.Serialization
Assembly: Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)

Syntax

C#
public ProductJsonConverter(
	IConfiguration configuration,
	ILogger ccLogger,
	IFontService fontService,
	IFontSubstitutionService fontSubstitutionService,
	IFileCache fileCache,
	IImageLoader imageLoader,
	IColorManagement colorManagement,
	ILifetimeScope scope,
	ISerializableStorage serializationStorage,
	ISerializableStorage runTimeStorage,
	bool convertUrlSourcesToStorage,
	JsonSerializerSettings jsonSerializerSettings
)

Parameters

configuration

Type: Aurigma.DesignAtoms.Configuration.IConfiguration

ccLogger

Type: ILogger

fontService

Type: IFontService

fontSubstitutionService

Type: IFontSubstitutionService

fileCache

Type: IFileCache

imageLoader

Type: IImageLoader

colorManagement

Type: Aurigma.DesignAtoms.Common.IColorManagement

scope

Type: ILifetimeScope

serializationStorage

Type: ISerializableStorage

runTimeStorage

Type: ISerializableStorage

convertUrlSourcesToStorage

Type: System.Boolean

jsonSerializerSettings

Type: JsonSerializerSettings

Examples

You can create an instance of this class by using dependency injection.
C#
using Aurigma.DesignAtoms.Configuration;
Injector.CurrentFactory = () => DefaultInjectorFactory.Create();
var serializer = Injector.Instance.Resolve<ProductJsonConverter>();

See Also

Reference