CacheKeyType, ValueType Class |
public class Cache<KeyType, ValueType>
The CacheKeyType, ValueType type exposes the following members.
| Name | Description | |
|---|---|---|
| CacheKeyType, ValueType | Constructor. |
| Name | Description | |
|---|---|---|
| Add | Adds the specified key-value pair to the cache. | |
| Clear | Clears the cache. | |
| TryGetNearest | Tries to get the value associated with the key nearest to the specified key. |