5 references to DisableLocalCacheRead
Microsoft.Extensions.Caching.Abstractions (1)
Hybrid\HybridCacheEntryFlags.cs (1)
29DisableLocalCache = DisableLocalCacheRead | DisableLocalCacheWrite,
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.cs (2)
122if ((flags & HybridCacheEntryFlags.DisableLocalCacheRead) == 0 && _localCache.TryGetValue(key, out var untyped) 162var flags = GetEffectiveFlags(options) | (HybridCacheEntryFlags.DisableLocalCacheRead | HybridCacheEntryFlags.DisableDistributedCacheRead);
Microsoft.Extensions.Caching.Hybrid.Tests (2)
ServiceConstructionTests.cs (2)
41options.DefaultEntryOptions = new() { Expiration = TimeSpan.FromSeconds(120), Flags = HybridCacheEntryFlags.DisableLocalCacheRead }; 50Assert.Equal(HybridCacheEntryFlags.DisableLocalCacheRead, defaults.Flags);