Microsoft.Extensions.Caching.Hybrid.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);
}
}