Adds an entry using key and value pair and absolute expiration date into the cache, and returns an existing cache entry with a matching key.
Overload | Description |
---|---|
AddOrGetExisting(CacheItem,CacheItemPolicy) | Adds a cache entry into the cache, and returns an existing cache entry with a matching key. |
AddOrGetExisting(string,object,CacheItemPolicy,string) | Adds an entry using key and value pair into the cache, and returns an existing cache entry with a matching key. |
AddOrGetExisting(string,object,DateTime,string) | Adds an entry using key and value pair and absolute expiration date into the cache, and returns an existing cache entry with a matching key. |
AddOrGetExisting<T>(CacheItem<T>,CacheItemPolicy) | Adds a cache entry into the cache, and returns an existing cache entry with a matching key. |
AddOrGetExisting<T>(string,T,CacheItemPolicy,string) | Adds an entry using key and value pair into the cache, and returns an existing cache entry with a matching key. |
AddOrGetExisting<T>(string,T,DateTime,string) | Adds an entry using key and value pair and absolute expiration date into the cache, and returns an existing cache entry with a matching key. |