The DataCache TKey, TValue type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
DataCache TKey, TValue |
Initializes a new instance of the DataCache TKey, TValue class that is empty.
|
Methods
Name | Description | |
---|---|---|
Clear |
Removes all keys and values from the DataCache TKey, TValue .
| |
Dispose |
Clears all items from the cache.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Removes the value with the specified key from the DataCache TKey, TValue .
| |
Set |
Sets a value for a certain key. If the key already exists in this cache the corresponding value is replaced.
| |
TryGetValue |
Tries to get a value for a certain key.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the count of objects currently in the cache.
|
See Also