ProviderDictionary TKey, TValue  MembersKentico 8.0 API Reference
The ProviderDictionary TKey, TValue  type exposes the following members.
Constructors

  NameDescription
Public methodProviderDictionary TKey, TValue 
Constructor.
Back to 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 AbstractProviderDictionary Clear(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 methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetDictionaries
Gets the Arraylist of dictionaries of specified object type.
Public methodStatic memberGetDictionaryName
Gets the provider name.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetRealCount
Gets the real count of the objects in the dictionary
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodCheckLogTask
Returns true if the logging of the tasks is enabled for the given object
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.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
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
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Protected methodTryGetInternal
Returns true if the internal dictionary contains specified record.
Public methodUpdate
Updates the specified object and logs the web farm task.
Back to Top
Extension Methods

  NameDescription
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.)
Back to Top
Fields

  NameDescription
Protected fieldDefaultWebFarmTaskType
Web farm task type to log
Protected fieldmDataIsValid
True if the dictionary content is valid.
Protected fieldmDictionary
Inner dictionary.
Protected fieldmEnabled
If true, the provider functionality is enabled.
Protected fieldmLogWebFarmTasks
Logs web farm tasks.
Protected fieldmObjectLatency
Object latency of the hashtable.
Public fieldmParentCollection
Parent dictionary collection.
Protected fieldmReloadDictionary
If true, the dictionary should be reloaded.
Back to 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 propertyReloadDictionary
If true, the dictionary should be reloaded.
(Overrides AbstractProviderDictionary ReloadDictionary.)
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
Back to Top
See Also