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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.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
Fields
  NameDescription
Protected fieldDefaultWebFarmTaskOperation
Web farm task type to log
Protected fieldmDataIsValid
True if the dictionary content is valid.
Protected fieldmDefaultObjectLatency
Object latency of the hashtable.
Protected fieldmDictionary
Inner dictionary.
Protected fieldmEnabled
If true, the provider functionality is enabled.
Protected fieldmLogWebFarmTasks
Logs web farm tasks.
Public fieldmParentCollection
Parent dictionary collection.
Protected fieldmReloadDictionary
If true, the dictionary should be reloaded.
Top
Properties
  NameDescription
Public propertyColumnNames
Column names
Public propertyCount
Items count (all keys).
Public propertyDataIsValid
Returns true if the dictionary content is valid.
Protected propertyDictionary
Inner dictionary.
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 propertyObjectLatency
Object latency in minutes.
Public propertyObjectType
Object type
Public propertyParentCollection
Parent dictionary collection.
Public propertyRemovedValue
Value that is set to the specific key if the value is removed. If not set, the item is completely removed.
Public propertyUseWeakReferences
If true, the weak references are used for the items so the memory can be cleared upon request
Public propertyValues
Returns the values of the dictionary
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).)
Public methodClearExpired
Clears all the expired items.
Protected methodClearInternal
Clears the internal dictionary
Public methodClearOlder
Removes the objects older that specified time.
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 methodStatic memberGetDictionaryName
Gets the provider name.
Public methodGetRealCount
Gets the real count of the objects in the dictionary
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