Adds a key/value pair item into the cache with the specified absolute expiration date.
Overload | Description |
---|---|
Set(CacheItem,CacheItemPolicy) | Adds an item into the cache. |
Set(string,object,CacheItemPolicy,string) | Adds a key/value pair item into the cache. |
Set(string,object,DateTime,string) | Adds a key/value pair item into the cache with the specified absolute expiration date. |
Set<T>(CacheItem<T>,CacheItemPolicy) | Adds an item into the cache. |
Set<T>(string,T,CacheItemPolicy,string) | Adds a key/value pair item into the cache. |
Set<T>(string,T,DateTime,string) | Adds a key/value pair item into the cache with the specified absolute expiration date. |