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))
113
internal IMemoryCache LocalCache =>
_localCache
;
136
if (
_localCache
.TryGetValue(key, out var untyped)
186
_localCache
.Remove(key);
Internal\DefaultHybridCache.Debug.cs (1)
20
if (
_localCache
.TryGetValue(key, out var untyped) && untyped is CacheItem typed)
Internal\DefaultHybridCache.L2.cs (1)
107
ICacheEntry cacheEntry =
_localCache
.CreateEntry(key);
Internal\DefaultHybridCache.Stampede.cs (1)
59
if ((flags & HybridCacheEntryFlags.DisableLocalCache) == 0 &&
_localCache
.TryGetValue(key, out var untyped)