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