Click or drag to resize

CacheTKey, TValue Methods

The CacheTKey, TValue type exposes the following members.

Methods
 NameDescription
Public methodAdd Adds the specified key and value to the dictionary. If the cache has reached its capacity oldest element will be removed automatically
Public methodContainsKey Determines whether the Cache contains the specified key.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetValue Gets the value associated with the specified key.
Top
See Also