Overload | Description |
---|---|
Add<T>(String,T,DateTimeOffset,String) | Inserts a cache entry into the cache without overwriting any existing cache entry. The absolute expiration will be the same for both the primary and secondary cache providers. |
Add<T>(CacheItem,CacheItemPolicy) | Tries to insert a cache entry into the cache as a System.Runtime.Caching.CacheItem instance, and adds details about how the entry should be evicted. The expiration policy will be the same for both the primary and secondary cache providers. |
Add<T>(String,T,CacheItemPolicy,String) | Inserts a cache entry into the cache, specifying information about how the entry will be evicted. The expiration policy will be the same for both the primary and secondary cache providers. |