示例#1
0
        public ComplexCache(IMemoryCache memoryCache, IRedisCache redisCache)
        {
            memoryCache.EnsureNotNull(() => new AngleExceptions());
            redisCache.EnsureNotNull(() => new AngleExceptions());

            _memoryCache = memoryCache;
            _redisCache  = redisCache;
        }