public virtual void SetCacheDefaultPriority(CacheEntryPriority defaultPriority)
 {
     _defaultPriority = defaultPriority;
 }
Beispiel #2
0
 public CacheEntryOptions(DateTimeOffset?absoluteExpiration = null, TimeSpan?slidingExpiration = null, CacheEntryPriority priority = CacheEntryPriority.Normal)
 {
     this.AbsoluteExpiration = absoluteExpiration;
     this.SlidingExpiration  = slidingExpiration;
     this.Priority           = priority;
 }
Beispiel #3
0
 public void SetCacheDefaultPriority(CacheEntryPriority defaultPriority)
 {
     ((IPrioritizableCache)_cache).SetCacheDefaultPriority(defaultPriority);
 }