1 instantiation of HybridCacheEntryContext
Microsoft.Extensions.Caching.Abstractions (1)
Hybrid\HybridCache.cs (1)
165var context = new HybridCacheEntryContext(packed.Options);
21 references to HybridCacheEntryContext
Microsoft.Extensions.Caching.Abstractions (21)
Hybrid\HybridCache.cs (18)
139/// <param name="factory">Provides the underlying data service if the data is not available in the cache. The <see cref="HybridCacheEntryContext"/> passed to the factory allows it to influence cache entry options based on the result.</param> 145Func<TState, HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, 165var context = new HybridCacheEntryContext(packed.Options); 222/// <param name="factory">Provides the underlying data service if the data is not available in the cache. The <see cref="HybridCacheEntryContext"/> passed to the factory allows it to influence cache entry options based on the result.</param> 228Func<HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, 238/// <param name="factory">Provides the underlying data service if the data is not available in the cache. The <see cref="HybridCacheEntryContext"/> passed to the factory allows it to influence cache entry options based on the result.</param> 245Func<HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, 258/// <param name="factory">Provides the underlying data service if the data is not available in the cache. The <see cref="HybridCacheEntryContext"/> passed to the factory allows it to influence cache entry options based on the result.</param> 266Func<TState, HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, 277/// <param name="factory">Provides the underlying data service if the data is not available in the cache. The <see cref="HybridCacheEntryContext"/> passed to the factory allows it to influence cache entry options based on the result.</param> 284Func<HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, 298/// <param name="factory">Provides the underlying data service if the data is not available in the cache. The <see cref="HybridCacheEntryContext"/> passed to the factory allows it to influence cache entry options based on the result.</param> 306Func<TState, HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, 325public static readonly Func<Func<HybridCacheEntryContext, CancellationToken, ValueTask<T>>, HybridCacheEntryContext, CancellationToken, ValueTask<T>> Instance = 332public readonly Func<TState, HybridCacheEntryContext, CancellationToken, ValueTask<T>> Factory; 336public HybridCacheEntryContext? Context; 338public DefaultImplState(TState state, Func<TState, HybridCacheEntryContext, CancellationToken, ValueTask<T>> factory, HybridCacheEntryOptions? options)
Hybrid\HybridCacheEntryContext.cs (1)
22/// Initializes a new instance of the <see cref="HybridCacheEntryContext"/> class, seeding its values from
Hybrid\HybridCacheEntryOptions.cs (2)
17/// <see cref="HybridCache.GetOrCreateAsync{TState, T}(string, TState, Func{TState, HybridCacheEntryContext, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask{T}}, HybridCacheEntryOptions?, System.Collections.Generic.IEnumerable{string}?, System.Threading.CancellationToken)"/> 18/// overloads, whose factory callback receives a mutable <see cref="HybridCacheEntryContext"/>.