2 instantiations of CacheItemPolicy
System.Runtime.Caching (2)
System\Caching\MemoryCache.cs (2)
510
CacheItemPolicy policy = new
CacheItemPolicy
();
546
CacheItemPolicy policy = new
CacheItemPolicy
();
19 references to CacheItemPolicy
System.Runtime.Caching (19)
System\Caching\CacheEntryUpdateArguments.cs (2)
13
private
CacheItemPolicy
_updatedCacheItemPolicy;
36
public
CacheItemPolicy
UpdatedCacheItemPolicy {
System\Caching\MemoryCache.cs (11)
67
private static bool IsPolicyValid(
CacheItemPolicy
policy) {
126
CacheItemPolicy
policy = args.UpdatedCacheItemPolicy;
211
private void ValidatePolicy(
CacheItemPolicy
policy) {
331
private object AddOrGetExistingInternal(string key, object value,
CacheItemPolicy
policy) {
500
public override bool Add(CacheItem item,
CacheItemPolicy
policy) {
510
CacheItemPolicy
policy = new CacheItemPolicy();
515
public override CacheItem AddOrGetExisting(CacheItem item,
CacheItemPolicy
policy) {
523
public override object AddOrGetExisting(string key, object value,
CacheItemPolicy
policy, string regionName = null) {
546
CacheItemPolicy
policy = new CacheItemPolicy();
551
public override void Set(CacheItem item,
CacheItemPolicy
policy) {
559
public override void Set(string key, object value,
CacheItemPolicy
policy, string regionName = null) {
System\Caching\ObjectCache.cs (6)
69
public virtual bool Add(CacheItem item,
CacheItemPolicy
policy) {
74
public virtual bool Add(string key, object value,
CacheItemPolicy
policy, string regionName = null) {
80
public abstract CacheItem AddOrGetExisting(CacheItem value,
CacheItemPolicy
policy);
83
public abstract object AddOrGetExisting(string key, object value,
CacheItemPolicy
policy, string regionName = null);
97
public abstract void Set(CacheItem item,
CacheItemPolicy
policy);
101
public abstract void Set(string key, object value,
CacheItemPolicy
policy, string regionName = null);