1 write to _defaultExpiration
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
107
_defaultExpiration
= defaultEntryOptions?.Expiration ?? TimeSpan.FromMinutes(5);
2 references to _defaultExpiration
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.cs (1)
109
_defaultDistributedCacheExpiration = new DistributedCacheEntryOptions { AbsoluteExpirationRelativeToNow =
_defaultExpiration
};
Internal\DefaultHybridCache.L2.cs (1)
160
if (options is not null && options.Expiration.HasValue && options.Expiration.GetValueOrDefault() !=
_defaultExpiration
)