Class TemplateProvider
- Namespace
- Dynamicweb.Ecommerce
- Assembly
- Dynamicweb.Ecommerce.dll
[AddInName("Dynamicweb.Ecommerce.Feeds.TemplateProvider")]
[AddInLabel("Template feed provider")]
[AddInActive(true)]
public class TemplateProvider : FeedProvider, IDropDownOptions
- Inheritance
-
TemplateProvider
- 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
public override string GetContentType()
Returns
GetOptions(string)
Get options for editors with multiple values
public override Hashtable GetOptions(string dropdownName)
Parameters
dropdownName
string
Returns
GetOutput(Feed, FeedContextConfiguration)
This method is used to get the output of the feed
public override string GetOutput(Feed feed, FeedContextConfiguration feedContextConfiguration)
Parameters
feed
Feed- The feed which should be used as the source for the output
feedContextConfiguration
FeedContextConfiguration