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