1 write to _localCache
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
76_localCache = services.GetRequiredService<IMemoryCache>();
7 references to _localCache
Microsoft.Extensions.Caching.Hybrid (7)
Internal\DefaultHybridCache.cs (5)
91&& _localCache.GetType() == typeof(MemoryCache)) 137internal IMemoryCache LocalCache => _localCache; 283_localCache.Remove(key); 413if (_localCache.TryGetValue(key, out object? untyped) && untyped is CacheItem<T> typed) 424_localCache.Remove(key);
Internal\DefaultHybridCache.Debug.cs (1)
20if (_localCache.TryGetValue(key, out object? untyped) && untyped is CacheItem typed)
Internal\DefaultHybridCache.L2.cs (1)
189ICacheEntry cacheEntry = _localCache.CreateEntry(key);