Click or drag to resize
Sandcastle Help File BuilderESentTargetDictionary Class
This contains a collection of targets indexed by member ID stored in a Managed ESENT PersistentDictionary<TKey, TValue>.
Inheritance Hierarchy
SystemObject
  Microsoft.Ddue.Tools.TargetsTargetDictionary
    SandcastleBuilder.Components.TargetsESentTargetDictionary

Namespace: SandcastleBuilder.Components.Targets
Assembly: SandcastleBuilder.Components (in SandcastleBuilder.Components.dll) Version: 2014.11.22.0
Syntax
public sealed class ESentTargetDictionary : TargetDictionary

The ESentTargetDictionary type exposes the following members.

Constructors
  NameDescription
Public methodESentTargetDictionary
Constructor
Top
Methods
  NameDescription
Public methodAdd(KeyValuePairString, Target) (Overrides TargetDictionaryAdd(KeyValuePairString, Target).)
Public methodAdd(String, Target) (Overrides TargetDictionaryAdd(String, Target).)
Public methodClear (Overrides TargetDictionaryClear.)
Public methodContains (Overrides TargetDictionaryContains(KeyValuePairString, Target).)
Public methodContainsKey (Overrides TargetDictionaryContainsKey(String).)
Public methodCopyTo (Overrides TargetDictionaryCopyTo(KeyValuePairString, Target, Int32).)
Public methodDispose
This implements the Dispose() interface to properly dispose of the target dictionary
(Inherited from TargetDictionary.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Overrides TargetDictionaryGetEnumerator.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove(String) (Inherited from TargetDictionary.)
Public methodRemove(KeyValuePairString, Target) (Inherited from TargetDictionary.)
Public methodReportCacheStatistics
Report the cache usage for the build
(Overrides TargetDictionaryReportCacheStatistics.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Overrides TargetDictionaryTryGetValue(String, Target).)
Top
Properties
  NameDescription
Public propertyBuildComponent
This read-only property returns the build component that owns the target dictionary
(Inherited from TargetDictionary.)
Public propertyCount (Overrides TargetDictionaryCount.)
Public propertyDictionaryId
This is used to get or set the target dictionary's unique ID
(Inherited from TargetDictionary.)
Public propertyDirectoryPath
This is used to get or set the path to the target files
(Inherited from TargetDictionary.)
Public propertyFilePattern
This is used to get or set the file pattern to use when searching for target files
(Inherited from TargetDictionary.)
Public propertyIsDisposed
This read-only property can be used to determine whether or not the target dictionary has been disposed.
(Inherited from TargetDictionary.)
Public propertyIsReadOnly (Inherited from TargetDictionary.)
Public propertyItem
Gets or sets the element with the specified key.
(Overrides TargetDictionaryItemString.)
Public propertyKeys (Overrides TargetDictionaryKeys.)
Public propertyNamespaceFileFilter
This read-only property returns any optional namespace files used to filter what gets loaded
(Inherited from TargetDictionary.)
Public propertyRecurse
This is used to get or set whether to recurse into subfolders of DirectoryPath when loading target files.
(Inherited from TargetDictionary.)
Public propertyValues (Overrides TargetDictionaryValues.)
Top
Remarks
The behavior of this dictionary is to return null if a target ID is not found and to replace existing entries if a duplicate ID is added. All targets are stored in a Managed ESENT database. The initial use will create the database slowing down initialization on first use. Subsequent uses will not need to recreate it. The trade off is that it can use much less memory at the expense of some build speed for each topic. The speed difference is offset somewhat by the shorter initialization time.
See Also