Class TemplateService
Implements operations for and represents the template service.
Inheritance
System.Object
TemplateService
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Engine.Template
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class TemplateService
Constructors
TemplateService()
Declaration
public TemplateService()
Properties
Provider
Gets the provider.
Declaration
public TemplateProvider Provider { get; set; }
Property Value
Type | Description |
---|---|
TemplateProvider | The provider. |
Providers
Gets the providers.
Declaration
public TemplateProviderCollection Providers { get; }
Property Value
Type | Description |
---|---|
TemplateProviderCollection | The providers. |
Methods
Process(String, CultureInfo, IDictionary)
Processes the specified template.
Declaration
public static 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 |