ResolveReferenceLinksComponentCreateMemberIdResolver(XPathNavigator) Method

This is used to create a member ID URL resolver for the component to use in looking up help website URLs.

Definition

Namespace: Sandcastle.Tools.BuildComponents
Assembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2024.12.21.0
protected virtual IMemberIdUrlResolver CreateMemberIdResolver(
	XPathNavigator configuration
)

Parameters

configuration  XPathNavigator
The component configuration

Return Value

IMemberIdUrlResolver
An IMemberIdUrlResolver instance

Remarks

This can be overridden in derived classes to provide persistent caches with backing stores other than the default dictionary serialized to a binary file. It also allows sharing the cache across instances by placing it in the Data dictionary using the key name SharedMemberUrlCacheId.

If overridden, the UpdateUrlCache method should also be overridden to persist changes to the cache if needed.

See Also