public MemoryCacheContainer (MemoryCache owner, int id, MemoryCachePerformanceCounters perfCounters)
		{
			if (owner == null)
				throw new ArgumentNullException ("owner");
			
			this.owner = owner;
			this.ID = id;
			this.perfCounters = perfCounters;
			cache = new SortedDictionary <string, MemoryCacheEntry> ();
			lru = new MemoryCacheLRU (this, DEFAULT_LRU_LOWER_BOUND);
		}
Exemple #2
0
        public MemoryCacheContainer(MemoryCache owner, int id, MemoryCachePerformanceCounters perfCounters)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            this.owner        = owner;
            this.ID           = id;
            this.perfCounters = perfCounters;
            cache             = new SortedDictionary <string, MemoryCacheEntry> ();
            lru = new MemoryCacheLRU(this, DEFAULT_LRU_LOWER_BOUND);
        }