Click or drag to resize
Sandcastle Help File BuilderSqlDictionaryTValue Class
This is a simple dictionary that stores its data in a SQL Server database table. An optional group ID can be used to segregate values within the dictionary.
Inheritance Hierarchy
SystemObject
  SandcastleBuilder.ComponentsSqlDictionaryTValue

Namespace: SandcastleBuilder.Components
Assembly: SandcastleBuilder.Components (in SandcastleBuilder.Components.dll) Version: 2014.11.22.0
Syntax
public sealed class SqlDictionary<TValue> : IDictionary<string, TValue>, 
	ICollection<KeyValuePair<string, TValue>>, IEnumerable<KeyValuePair<string, TValue>>, 
	IEnumerable, IDisposable

Type Parameters

TValue
The type of the value

The SqlDictionaryTValue type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAdd(KeyValuePairString, TValue)
Public methodAdd(String, TValue)
Public methodClear
Public methodContains
Public methodContainsKey
Public methodCopyTo
Public methodDispose
Dispose of the SQL dictionary
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.
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 methodPurge
This is used to purge all data from the dictionary
Public methodRemove(KeyValuePairString, TValue)
Public methodRemove(String)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
Top
Properties
  NameDescription
Public propertyCount
Public propertyCurrentLocalCacheCount
This read-only property returns the current number of local cache entries in use
Public propertyGroupId
This read-only property returns the group ID
Public propertyIsDisposed
This read-only property returns whether or not the cache has been disposed of
Public propertyIsReadOnly
Public propertyItem
Gets or sets the element with the specified key.
Public propertyKeys
Public propertyLocalCacheFlushCount
This read-only property returns the number of times the local cache was flushed because it filled up
Public propertyLocalCacheSize
Set this to a non-zero value to enable local caching of values to speed up read-only access
Public propertyValues
Top
Remarks
This dictionary is intended for use in Sandcastle build components to store data needed for the build. The key type is always a string as is the group ID type if used. The value type is indicated using the TValue type parameter and is assumed to be either a String or a reference type.
Thread Safety
Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
See Also