Example #1
0
        private CacheEntryStack(CacheEntryStack previous, MemoryCacheEntry entry)
        {
            if (previous == null)
            {
                throw new ArgumentNullException(nameof(previous));
            }

            _previous = previous;
            _entry    = entry;
        }
Example #2
0
 public ScopeLease(CacheEntryStack cacheEntryStack)
 {
     _cacheEntryStack = cacheEntryStack;
 }