1 type derived from ObjectCache
System.Runtime.Caching (1)
System\Caching\MemoryCache.cs (1)
19
public class MemoryCache :
ObjectCache
, IEnumerable, IDisposable {
26 references to ObjectCache
System.Runtime.Caching (24)
System\Caching\CacheEntryRemovedArguments.cs (3)
11
private
ObjectCache
_source;
22
public
ObjectCache
Source {
26
public CacheEntryRemovedArguments(
ObjectCache
source, CacheEntryRemovedReason reason, CacheItem cacheItem) {
System\Caching\CacheEntryUpdateArguments.cs (3)
11
private
ObjectCache
_source;
27
public
ObjectCache
Source {
41
public CacheEntryUpdateArguments(
ObjectCache
source, CacheEntryRemovedReason reason, String key, String regionName) {
System\Caching\CacheItemPolicy.cs (2)
51
_absExpiry =
ObjectCache
.InfiniteAbsoluteExpiration;
52
_sldExpiry =
ObjectCache
.NoSlidingExpiration;
System\Caching\CacheMemoryMonitor.cs (1)
250
IServiceProvider host =
ObjectCache
.Host;
System\Caching\HostFileChangeMonitor.cs (1)
83
IServiceProvider host =
ObjectCache
.Host;
System\Caching\MemoryCache.cs (13)
212
if (policy.AbsoluteExpiration !=
ObjectCache
.InfiniteAbsoluteExpiration
213
&& policy.SlidingExpiration !=
ObjectCache
.NoSlidingExpiration) {
216
if (policy.SlidingExpiration <
ObjectCache
.NoSlidingExpiration || OneYear < policy.SlidingExpiration) {
217
throw new ArgumentOutOfRangeException("policy", RH.Format(R.Argument_out_of_range, "SlidingExpiration",
ObjectCache
.NoSlidingExpiration, OneYear));
335
DateTimeOffset absExp =
ObjectCache
.InfiniteAbsoluteExpiration;
336
TimeSpan slidingExp =
ObjectCache
.NoSlidingExpiration;
489
Set(key, value,
ObjectCache
.InfiniteAbsoluteExpiration);
566
DateTimeOffset absExp =
ObjectCache
.InfiniteAbsoluteExpiration;
567
TimeSpan slidingExp =
ObjectCache
.NoSlidingExpiration;
610
&& absoluteExpiration ==
ObjectCache
.InfiniteAbsoluteExpiration
611
&& slidingExpiration ==
ObjectCache
.NoSlidingExpiration) {
632
ObjectCache
.InfiniteAbsoluteExpiration,
633
ObjectCache
.NoSlidingExpiration,
System\Caching\PerfCounters.cs (1)
37
IServiceProvider host =
ObjectCache
.Host;
System.Web (2)
Hosting\HostingEnvironment.cs (2)
410
if (
ObjectCache
.Host == null) {
412
ObjectCache
.Host = objectCacheHost;