Click or drag to resize
Sandcastle Help File BuilderSqlIndexedCache Class
This is a version of the InMemoryIndexCache that adds the ability to store index information in a persistent SQL database.
Inheritance Hierarchy
SystemObject
  Microsoft.Ddue.Tools.CommandsIndexedCache
    Microsoft.Ddue.Tools.CommandsInMemoryIndexedCache
      SandcastleBuilder.Components.CommandsSqlIndexedCache

Namespace: SandcastleBuilder.Components.Commands
Assembly: SandcastleBuilder.Components (in SandcastleBuilder.Components.dll) Version: 2014.11.22.0
Syntax
public class SqlIndexedCache : InMemoryIndexedCache

The SqlIndexedCache type exposes the following members.

Constructors
  NameDescription
Public methodSqlIndexedCache
Constructor
Top
Methods
  NameDescription
Public methodAddDocuments
This is used to index documents and add their key/file mappings to the cache
(Overrides InMemoryIndexedCacheAddDocuments(XPathNavigator).)
Public methodDispose
This implements the Dispose() interface to properly dispose of the indexed cache
(Inherited from IndexedCache.)
Protected methodDispose(Boolean)
This can be overridden by derived classes to add their own disposal code if necessary.
(Overrides IndexedCacheDispose(Boolean).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
This handles garbage collection to ensure proper disposal of the indexed cache if not done explicitly with Dispose.
(Inherited from IndexedCache.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKeys
This returns an enumerable list of all key values from the specified XML file based on the expressions for this cache.
(Inherited from IndexedCache.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValues
This returns an enumerable list of all key/value pairs from the specified XML file based on the expressions for this cache.
(Inherited from IndexedCache.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReportCacheStatistics
Report the cache usage for the build
(Overrides InMemoryIndexedCacheReportCacheStatistics.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyComponent
This read-only property returns a reference to the CopyFromIndexComponent that owns it
(Inherited from IndexedCache.)
Public propertyCount
This read-only property returns a count of the items in the indexed cache
(Overrides InMemoryIndexedCacheCount.)
Public propertyIsDisposed
This read-only property can be used to determine whether or not the indexed cache has been disposed
(Inherited from IndexedCache.)
Public propertyItem
This read-only property returns the value in the indexed cache for the given key
(Overrides InMemoryIndexedCacheItemString.)
Public propertyKeyExpression
This read-only property returns the XPath expression used to extract the key from values
(Inherited from IndexedCache.)
Public propertyName
This read-only property returns the name of the index cache
(Inherited from IndexedCache.)
Public propertyValueExpression
This read-only property returns the XPath expression used to search for values in the XML files
(Inherited from IndexedCache.)
Top
See Also