MicrosoftLearnMemberIdUrlResolver.MicrosoftLearnMemberIdUrlResolver Constructor
Definition
- Namespace
- Sandcastle.Tools.BuildComponents
- Assembly
- Sandcastle.Tools.BuildComponents.dll
MicrosoftLearnMemberIdUrlResolver()
Default constructor
public MicrosoftLearnMemberIdUrlResolver()
Remarks
The default constructor creates a simple dictionary to hold the cached URLs
MicrosoftLearnMemberIdUrlResolver(IDictionary<string, string>, bool)
This constructor is used to create the resolver using an existing cache
public MicrosoftLearnMemberIdUrlResolver(IDictionary<string, string> urlCache, bool isShared)
Parameters
urlCacheIDictionary<string, string>A cache of existing member ID URLs
isSharedboolTrue if the cache is shared, false if not. If not shared, the cache will be disposed of when this instance is disposed of
Remarks
This constructor allows you to pass in a persistent cache with preloaded values that will save looking up values that have already been determined.