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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public class ProviderDictionary<TKey, TValue> : AbstractProviderDictionary, 
	IProviderDictionaryTemplate<TValue>, IProviderDictionaryWebFarmContainer

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
Public propertyParentCollection
Parent dictionary collection.
Public propertyUseWeakReferences
If true, the weak references are used for the items so the memory can be cleared upon request
Protected propertyWebFarmTaskOperation
Web farm task operation identificator used in task queue.
Top
Methods
  NameDescription
Public methodAdd(Object, TValue)
Adds the specified object.
Public methodAdd(TKey, TValue)
Adds the specified object.
Public methodAdd(TKey, TValue, Boolean)
Adds the specified object.
Public methodClear
Clears all the items.
(Overrides AbstractProviderDictionaryClear(Boolean).)
Protected methodClearInternal
Clears the internal dictionary
Public methodContains(Object)
Returns true if the table contains specified record.
Public methodContains(TKey)
Returns true if the table contains specified record.
Public methodContains(Object, TValue)
Returns true if the table contains specified record.
Public methodContains(TKey, TValue)
Returns true if the table contains specified record.
Protected methodContainsInternal
Returns true if the internal dictionary contains specified record.
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 methodStatic memberGetDictionaries
Gets the ArrayList of dictionaries of specified object type.
Public methodInvalidate
Invalidates the dictionary content.
Public methodLoadNextGeneration
Loads the next generation of the objects.
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 methodNextGenerationAvailable
Returns true if the next generation of the objects is available.
Public methodStatic memberProcessWebFarmTask
Processes the given web farm task.
Public methodStatic memberReloadDictionaries
Reloads the dictionaries of specified object type.
Public methodRemove(Object)
Removes the specified object.
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 methodUpdate
Updates the specified object and logs the web farm task.
Top
See Also