Table of Contents

Class UrlIndexBuilder

Namespace
Dynamicweb.Frontend.UrlHandling
Assembly
Dynamicweb.dll

Lets a subscriber to the OnBuildUrlIndex notification contribute custom url nodes to the URL index that is being built. The target index set is provided explicitly (rather than through the ambient static Indexes), so contributions are deterministic and thread-safe and are indexed as part of the ongoing rebuild before it is swapped in.

public sealed class UrlIndexBuilder
Inheritance
UrlIndexBuilder
Inherited Members

Methods

GetIndex(string)

Gets (creating it if necessary) the named UrlIndex in the set being built, so custom root nodes can be added to it.

public UrlIndex GetIndex(string name)

Parameters

name string

The area url index name (see GetAreaUrlIndexName(Area)).

Returns

UrlIndex

The index to add custom root nodes to.

To top