Class ContentAppIndexProviderSample
- Namespace
- Dynamicweb.Examples.Content
- Assembly
- Dynamicweb.Examples.dll
public class ContentAppIndexProviderSample : ContentAppIndexProvider
- Inheritance
-
ContentAppIndexProviderSample
- Inherited Members
Methods
CanHandle(string)
Returns value inicating whether current app index provider can handle the app by it's system name.
public override bool CanHandle(string appSystemName)
Parameters
appSystemNamestring- The app system name.
Returns
- bool
- Returns true if current app index provider can handle the app.
ExtendTemplate(Template, IDictionary)
Extends template with tags needed to render extended index fields.
public override void ExtendTemplate(Template template, IDictionary doc)
Parameters
templateTemplate- The template to be rendered.
docIDictionary- The document as IDictionary
GetDocuments(int, IndexDocument, DataRow)
Gets the index documents for specific paragraph.
public override IEnumerable<IndexDocument> GetDocuments(int pageId, IndexDocument pageDocument, DataRow appParagraphRow)
Parameters
pageIdint- The page id.
pageDocumentIndexDocument- The parent page index document.
appParagraphRowDataRow- The paragraph DataRow.
Returns
- IEnumerable<IndexDocument>
- The collection of IndexDocument.
GetFields()
Gets fields specific for current app index provider.
public override IEnumerable<FieldDefinitionBase> GetFields()
Returns
- IEnumerable<FieldDefinitionBase>
- The collection of FieldDefinitionBase.