/// <summary> /// Returns just those keys which exist in both caches /// </summary> /// <param name="cacheProfile">Name of the cache.</param> /// <returns></returns> public IEnumerable <string> Keys(CacheProfile cacheProfile) { return(_memoryCacheEngine.Keys(cacheProfile).Union(_redisCacheEngine.Keys(cacheProfile))); }