Class TemplateProvider

Implements operations for the template provider. (Inherits System.Configuration.Provider.ProviderBase.)

Inheritance
System.Object
TemplateProvider
Namespace: Mediachase.Commerce.Engine.Template
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public abstract class TemplateProvider : ProviderBase

Constructors

TemplateProvider()

Declaration
protected TemplateProvider()

Properties

ApplicationName

Gets or sets the name of the application.

Declaration
public abstract string ApplicationName { get; set; }
Property Value
Type Description
System.String

The name of the application.

Methods

Process(String, CultureInfo, IDictionary)

Processes the specified template with a context provided.

Declaration
public abstract string Process(string template, CultureInfo culture, IDictionary context)
Parameters
Type Name Description
System.String template

The template.

System.Globalization.CultureInfo culture

The culture.

System.Collections.IDictionary context

The context.

Returns
Type Description
System.String

The processed template with context embedded.