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

ProductRenderer Constructor

Initializes a new instance of the ProductRenderer class using the specified configuration.

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

Syntax

C#
public ProductRenderer(
	IConfiguration configuration,
	IItemHandlerFactory itemHandlerFactory,
	IFileCache fileCache,
	ICanvasBuilder canvasBuilder,
	IMergeUtil mergeUtil,
	IColorManagement colorManagement,
	IImageLoader imageLoader,
	IVdpProductBuilder vdpProductBuilder
)

Parameters

configuration

Type: Aurigma.DesignAtoms.Configuration.IConfiguration

The configuration of the Design Atoms Framework.
itemHandlerFactory

Type: IItemHandlerFactory

An item handler.
fileCache

Type: IFileCache

A reference to the file cache.
canvasBuilder

Type: Aurigma.DesignAtoms.Rendering.ICanvasBuilder

A canvas builder.
mergeUtil

Type: IMergeUtil

A reference to the merge utility.
colorManagement

Type: Aurigma.DesignAtoms.Common.IColorManagement

Color management parameters.
imageLoader

Type: IImageLoader

A reference to the image loader.
vdpProductBuilder

Type: IVdpProductBuilder

Personalization parameters.

Examples

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

See Also

Reference