public ComplexCache(IMemoryCache memoryCache, IRedisCache redisCache) { memoryCache.EnsureNotNull(() => new AngleExceptions()); redisCache.EnsureNotNull(() => new AngleExceptions()); _memoryCache = memoryCache; _redisCache = redisCache; }