<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="11.0.0-preview.7.26381.103" />

Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryContext

public sealed class HybridCacheEntryContext
Provides a mutable view of the cache entry options in effect for a single HybridCache operation, supplied to a factory callback so that it can adjust those options based on the result of the data fetch.
namespace Microsoft.Extensions.Caching.Hybrid { public sealed class HybridCacheEntryContext { public TimeSpan? Expiration { get; set; } public TimeSpan? LocalCacheExpiration { get; set; } public HybridCacheEntryFlags? Flags { get; set; } public long? LocalSize { get; set; } public int Revision { get; } public HybridCacheEntryContext(HybridCacheEntryOptions options); } }