Table of Contents

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

appSystemName string
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

template Template
The template to be rendered.
doc IDictionary
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

pageId int
The page id.
pageDocument IndexDocument
The parent page index document.
appParagraphRow DataRow
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.
To top