1 write to _localCache
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
66_localCache = services.GetRequiredService<IMemoryCache>();
7 references to _localCache
Microsoft.Extensions.Caching.Hybrid (7)
Internal\DefaultHybridCache.cs (4)
76&& _localCache.GetType() == typeof(MemoryCache)) 113internal IMemoryCache LocalCache => _localCache; 136if (_localCache.TryGetValue(key, out var untyped) 186_localCache.Remove(key);
Internal\DefaultHybridCache.Debug.cs (1)
20if (_localCache.TryGetValue(key, out var untyped) && untyped is CacheItem typed)
Internal\DefaultHybridCache.L2.cs (1)
107ICacheEntry cacheEntry = _localCache.CreateEntry(key);
Internal\DefaultHybridCache.Stampede.cs (1)
59if ((flags & HybridCacheEntryFlags.DisableLocalCache) == 0 && _localCache.TryGetValue(key, out var untyped)