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. |