Class TemplateProvider
- Namespace
- Dynamicweb.Ecommerce
- Assembly
- Dynamicweb.Ecommerce.dll
[AddInName("Dynamicweb.Ecommerce.Feeds.TemplateProvider")]
[AddInLabel("Template feed provider")]
[AddInActive(true)]
public class TemplateProvider : FeedProvider, IParameterOptions
- Inheritance
-
Template
Provider
- Implements
- Inherited Members
Properties
ContentType
[AddInParameter("Content Type")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "inputClass=inputControl")]
public string? ContentType { get; set; }
Property Value
Template
[AddInParameter("Template")]
[AddInParameterEditor(typeof(TemplateParameterEditor), "inputClass=inputControl;folder=Templates/Feeds")]
public string? Template { get; set; }
Property Value
Methods
GetContentType()
Gets the content type for the output
Returns
GetOutput(Feed, FeedContextConfiguration)
This method is used to get the output of the feed
Parameters
feed
FeedThe feed which should be used as the source for the output
feedContextConfiguration
FeedContext Configuration
Returns
GetParameterOptions(string)
Parameters
dropdownName
string