Click or drag to resize
ProviderDictionaryTKey, TValue Class
Provider dictionary.
Inheritance Hierarchy

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public class ProviderDictionary<TKey, TValue> : IProviderDictionary<TKey, TValue>, 
	IProviderDictionary

Type Parameters

TKey
TValue

The ProviderDictionaryTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodProviderDictionaryTKey, TValue
Creates new instance of ProviderDictionaryTKey, TValue.
Top
Properties
  NameDescription
Public propertyColumnNames
Column names
Public propertyCount
Items count (all keys).
Public propertyDataIsValid
Returns true if the dictionary content is valid.
Public propertyEnabled
If true, the dictionary is enabled.
Public propertyIsEmpty
Returns true if the Dictionary is empty.
Public propertyItem
Dictionary indexer.
Public propertyLogWebFarmTasks
Gets / sets if the dictionary should log web farm tasks
Public propertyName
Dictionary name.
Public propertyObjectType
Object type
Top
Methods
  NameDescription
Public methodAdd(TKey, TValue)
Adds the specified object.
Public methodAdd(TKey, TValue, Boolean)
Adds the specified object.
Public methodClear
Clears all the items.
Public methodContains(TKey) Obsolete.
Returns true if the table contains specified record.
Public methodContains(TKey, TValue) Obsolete.
Gets the value associated with the specified key.
Public methodContainsKey
Returns true if the table contains specified record.
Protected methodConvertKey
Converts the key to a specific type
Public methodDelete
Removes the specified object and logs the web farm task.
Public methodInvalidate
Invalidates the dictionary content.
Public methodLogWebFarmTask(String, String)
Logs the web farm task with specified task data.
Public methodLogWebFarmTask(TKey, String)
Logs the web farm task for specified object key.
Public methodRemove(TKey)
Removes the specified object.
Public methodRemove(TKey, Boolean)
Removes the specified object.
Protected methodRemoveInternal
Removes the key from the internal dictionary
Protected methodTryGetInternal
Returns true if the internal dictionary contains specified record.
Public methodTryGetValue
Gets the value associated with the specified key.
Public methodUpdate
Updates the specified object and logs the web farm task.
Top
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also