1 write to _localCache
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
70_localCache = services.GetRequiredService<IMemoryCache>();
7 references to _localCache
Microsoft.Extensions.Caching.Hybrid (7)
Internal\DefaultHybridCache.cs (5)
80&& _localCache.GetType() == typeof(MemoryCache)) 124internal IMemoryCache LocalCache => _localCache; 198_localCache.Remove(key); 301if (_localCache.TryGetValue(key, out object? untyped) && untyped is CacheItem<T> typed) 312_localCache.Remove(key);
Internal\DefaultHybridCache.Debug.cs (1)
20if (_localCache.TryGetValue(key, out object? untyped) && untyped is CacheItem typed)
Internal\DefaultHybridCache.L2.cs (1)
192ICacheEntry cacheEntry = _localCache.CreateEntry(key);