Table of Contents

Class UrlIndex

Namespace
Dynamicweb.Frontend.UrlHandling
Assembly
Dynamicweb.dll
public class UrlIndex
Inheritance
UrlIndex
Inherited Members

Properties

Indexes

public static ConcurrentDictionary<string, UrlIndex> Indexes { get; }

Property Value

ConcurrentDictionary<string, UrlIndex>

IndexOfQueryString

public ConcurrentDictionary<string, UrlNode> IndexOfQueryString { get; set; }

Property Value

ConcurrentDictionary<string, UrlNode>

IsBeingRebuild

public static bool IsBeingRebuild { get; set; }

Property Value

bool

PathIndex

public ConcurrentDictionary<string, UrlNode> PathIndex { get; set; }

Property Value

ConcurrentDictionary<string, UrlNode>

QuerystringIndex

[Obsolete("Use IndexOfQueryString instead.")]
public ConcurrentDictionary<string, UrlNode> QuerystringIndex { get; set; }

Property Value

ConcurrentDictionary<string, UrlNode>

RootNodes

public List<UrlNode> RootNodes { get; set; }

Property Value

List<UrlNode>

Methods

AddOrUpdateIndexOfQueryString(UrlNode)

public void AddOrUpdateIndexOfQueryString(UrlNode node)

Parameters

node UrlNode

AddOrUpdatePathIndex(UrlNode)

public void AddOrUpdatePathIndex(UrlNode node)

Parameters

node UrlNode

AddOrUpdateQuerystringIndex(UrlNode)

[Obsolete("Use AddOrUpdateIndexOfQueryString instead.")]
public void AddOrUpdateQuerystringIndex(UrlNode node)

Parameters

node UrlNode

AwaitIndexBuild()

public static void AwaitIndexBuild()

BuildIndex()

public void BuildIndex()

BuildIndexes()

public static void BuildIndexes()

EnsureUniquePath(string)

public string EnsureUniquePath(string path)

Parameters

path string

Returns

string

GetByQueryString(string)

[Obsolete("Use GetNodeByQuerystring instead.")]
public UrlNode GetByQueryString(string querystring)

Parameters

querystring string

Returns

UrlNode

GetIndex(string)

public static UrlIndex GetIndex(string name)

Parameters

name string

Returns

UrlIndex

GetNodeByPath(string)

public UrlNode GetNodeByPath(string path)

Parameters

path string

Returns

UrlNode

GetNodeByQuerystring(string)

public UrlNode GetNodeByQuerystring(string queryString)

Parameters

queryString string

Returns

UrlNode

GetPathByQuerystring(string)

[Obsolete("Use GetPathFromQueryString instead.")]
public string GetPathByQuerystring(string querystring)

Parameters

querystring string

Returns

string

GetPathFromQueryString(string)

public string GetPathFromQueryString(string queryString)

Parameters

queryString string

Returns

string

GetQueryStringByPath(string)

public UrlIndexPathLookupResult GetQueryStringByPath(string path)

Parameters

path string

Returns

UrlIndexPathLookupResult

IndexNode(UrlNode)

public void IndexNode(UrlNode node)

Parameters

node UrlNode

Reset()

public static void Reset()
To top