public static void Clear <T>(this ObjectCache cache) { foreach (var entry in cache.Where(entry => CacheKeyGenerator.IsGeneratedCacheKey <T>(entry.Key))) { cache.Remove(entry.Key); } }
public static void Clear <T>(this ObjectCache cache) { foreach (var entry in cache.Where(entry => CacheKeyGenerator.IsGeneratedCacheKey <T>(entry.Key))) { cache.Remove(entry.Key); } }