This is an old documentation. Go to the latest Customer's Canvas docs

ITemplateParser Interface

Provides methods used to load product templates.

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

Syntax

C#
public interface ITemplateParser

Examples

You can create an instance of this interface by using dependency injection.
C#
using Aurigma.DesignAtoms.Configuration;
using Aurigma.DesignAtoms.Convert;
Injector.CurrentFactory = () => DefaultInjectorFactory.Create();
var parser = Injector.Instance.Resolve<ITemplateParser>();
var product = parser.FromIdml("invitation.idml");

See Also

Reference

Manual