CacheTKey, TValue Class |
The CacheTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
CacheTKey, TValue | Caching class for improving performance. Oldest elements are removed as the cache is filled up |
Name | Description | |
---|---|---|
Count | Gets the number of key/value pairs contained in the Cache. | |
Item | Gets the value associated with the specified key. |
Name | Description | |
---|---|---|
Add | Adds the specified key and value to the dictionary. If the cache has reached its capacity oldest element will be removed automatically | |
ContainsKey | Determines whether the Cache contains the specified key. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (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) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
TryGetValue | Gets the value associated with the specified key. |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |