Click or drag to resize
ProviderInfoDictionaryKeyType Class
Base info dictionary for info providers
Inheritance Hierarchy
SystemObject
  CMS.DataEngineAbstractProviderDictionary
    CMS.DataEngineProviderDictionaryKeyType, BaseInfo
      CMS.DataEngineProviderInfoDictionaryKeyType
        CMS.DataEngineProviderGuidDictionary
        CMS.DataEngineProviderIntDictionary

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class ProviderInfoDictionary<KeyType> : ProviderDictionary<KeyType, BaseInfo>

Type Parameters

KeyType

The ProviderInfoDictionaryKeyType type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAdd(TKey, TValue)
Adds the specified object.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodAdd(KeyType, BaseInfo, Boolean)
Adds the specified object.
(Overrides ProviderDictionaryTKey, TValueAdd(TKey, TValue, Boolean).)
Public methodClear
Clears all the items.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodClearExpired
Clears all the expired items.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected methodClearInternal
Clears the internal dictionary
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodClearOlder
Removes the objects older that specified time.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodContains(Object)
Returns true if the table contains specified record.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodContains(TKey)
Returns true if the table contains specified record.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodContains(Object, TValue)
Returns true if the table contains specified record.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodContains(TKey, TValue)
Returns true if the table contains specified record.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected methodContainsInternal
Returns true if the internal dictionary contains specified record.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodContainsKey
Returns true if the table contains specified record.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected methodConvertKey
Converts the key to a specific type
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodDelete
Removes the specified object and logs the web farm task.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodGetRealCount
Gets the real count of the objects in the dictionary
(Inherited from ProviderDictionaryTKey, TValue.)
Protected methodCheckLogTask
Returns true if the logging of the tasks is enabled for the given object
(Overrides ProviderDictionaryTKey, TValueCheckLogTask(TValue).)
Public methodInvalidate
Invalidates the dictionary content.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodLoadNextGeneration
Loads the next generation of the objects.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodLogWebFarmTask(String, String)
Logs the web farm task with specified task data.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodLogWebFarmTask(TKey, String)
Logs the web farm task for specified object key.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodNextGenerationAvailable
Returns true if the next generation of the objects is available.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodRemove(Object)
Removes the specified object.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodRemove(TKey)
Removes the specified object.
(Inherited from ProviderDictionaryTKey, TValue.)
Public methodRemove(TKey, Boolean)
Removes the specified object.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected methodRemoveInternal
Removes the key from the internal dictionary
(Inherited from ProviderDictionaryTKey, TValue.)
Protected methodTryGetInternal
Returns true if the internal dictionary contains specified record.
(Overrides ProviderDictionaryTKey, TValueTryGetInternal(TKey, TValue).)
Public methodUpdate
Updates the specified object and logs the web farm task.
(Inherited from ProviderDictionaryTKey, TValue.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldDefaultWebFarmTaskType
Web farm task type to log
(Inherited from ProviderDictionaryTKey, TValue.)
Protected fieldmDataIsValid
True if the dictionary content is valid.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected fieldmDictionary
Inner dictionary.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected fieldmEnabled
If true, the provider functionality is enabled.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected fieldmLogWebFarmTasks
Logs web farm tasks.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected fieldmObjectLatency
Object latency of the hashtable.
(Inherited from ProviderDictionaryTKey, TValue.)
Public fieldmParentCollection
Parent dictionary collection.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected fieldmReloadDictionary
If true, the dictionary should be reloaded.
(Inherited from ProviderDictionaryTKey, TValue.)
Top
Properties
  NameDescription
Public propertyColumnNames
Column names
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyCount
Items count (all keys).
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyDataIsValid
Returns true if the dictionary content is valid.
(Inherited from ProviderDictionaryTKey, TValue.)
Protected propertyDictionary
Inner dictionary.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyEnabled
If true, the dictionary is enabled.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyCheckValidity
If true (default), the dictionary checks the validity of the object upon its retrieval and doesn't return invalid objects. The object must support invalidation in order to support this.
Public propertyIsEmpty
Returns true if the Dictionary is empty.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyItem
Dictionary indexer.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyLogWebFarmTasks
Gets / sets if the dictionary should log web farm tasks
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyName
Dictionary name.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyObjectLatency
Object latency in minutes.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyObjectType
Object type
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyParentCollection
Parent dictionary collection.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyReloadDictionary
If true, the dictionary should be reloaded.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyRemovedValue
Value that is set to the specific key if the value is removed. If not set, the item is completely removed.
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyUseWeakReferences
If true, the weak references are used for the items so the memory can be cleared upon request
(Inherited from ProviderDictionaryTKey, TValue.)
Public propertyValues
Returns the values of the dictionary
(Inherited from ProviderDictionaryTKey, TValue.)
Top
See Also