2 instantiations of CacheItemPolicy
System.Runtime.Caching (2)
System\Runtime\Caching\MemoryCache.cs (2)
580
CacheItemPolicy policy = new
CacheItemPolicy
();
621
CacheItemPolicy policy = new
CacheItemPolicy
();
19 references to CacheItemPolicy
System.Runtime.Caching (19)
System\Runtime\Caching\CacheEntryUpdateArguments.cs (2)
15
private
CacheItemPolicy
_updatedCacheItemPolicy;
43
public
CacheItemPolicy
UpdatedCacheItemPolicy
System\Runtime\Caching\MemoryCache.cs (11)
80
private static bool IsPolicyValid(
CacheItemPolicy
policy)
149
CacheItemPolicy
policy = args.UpdatedCacheItemPolicy;
228
private static void ValidatePolicy(
CacheItemPolicy
policy)
375
private object AddOrGetExistingInternal(string key, object value,
CacheItemPolicy
policy)
568
public override bool Add(CacheItem item,
CacheItemPolicy
policy)
580
CacheItemPolicy
policy = new CacheItemPolicy();
585
public override CacheItem AddOrGetExisting(CacheItem item,
CacheItemPolicy
policy)
595
public override object AddOrGetExisting(string key, object value,
CacheItemPolicy
policy, string regionName = null)
621
CacheItemPolicy
policy = new CacheItemPolicy();
626
public override void Set(CacheItem item,
CacheItemPolicy
policy)
636
public override void Set(string key, object value,
CacheItemPolicy
policy, string regionName = null)
System\Runtime\Caching\ObjectCache.cs (6)
73
public virtual bool Add(CacheItem item,
CacheItemPolicy
policy)
78
public virtual bool Add(string key, object value,
CacheItemPolicy
policy, string regionName = null)
84
public abstract CacheItem AddOrGetExisting(CacheItem value,
CacheItemPolicy
policy);
86
public abstract object AddOrGetExisting(string key, object value,
CacheItemPolicy
policy, string regionName = null);
94
public abstract void Set(CacheItem item,
CacheItemPolicy
policy);
96
public abstract void Set(string key, object value,
CacheItemPolicy
policy, string regionName = null);