8 instantiations of HybridCacheEntryOptions
Microsoft.Extensions.Caching.Hybrid.Tests (8)
28 references to HybridCacheEntryOptions
Microsoft.Extensions.Caching.Abstractions (3)
Microsoft.Extensions.Caching.Hybrid (16)
Internal\DefaultHybridCache.L2.cs (5)
81internal ValueTask SetL2Async(string key, CacheItem cacheItem, in BufferChunk buffer, HybridCacheEntryOptions? options, CancellationToken token)
182internal void SetL1<T>(string key, CacheItem<T> value, HybridCacheEntryOptions? options)
216private async ValueTask WritePayloadAsync(string key, CacheItem cacheItem, BufferChunk payload, HybridCacheEntryOptions? options, CancellationToken token)
256private DistributedCacheEntryOptions GetL2DistributedCacheOptions(HybridCacheEntryOptions? options)
277static DistributedCacheEntryOptions ToDistributedCacheEntryOptions(HybridCacheEntryOptions options)
Microsoft.Extensions.Caching.Hybrid.Tests (7)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (2)
CacheServiceExtensionsTests.cs (2)
155public override ValueTask<T> GetOrCreateAsync<TState, T>(string key, TState state, Func<TState, CancellationToken, ValueTask<T>> factory, HybridCacheEntryOptions options = null, IEnumerable<string> tags = null, CancellationToken cancellationToken = default)
164public override ValueTask SetAsync<T>(string key, T value, HybridCacheEntryOptions options = null, IEnumerable<string> tags = null, CancellationToken cancellationToken = default)