Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions
Represents the cache options applied to an entry of the IMemoryCache instance.
Gets or sets an absolute expiration date for the cache entry.
Gets or sets an absolute expiration time, relative to now.
Gets the IChangeToken instances which cause the cache entry to expire.
Gets or sets the callbacks will be fired after the cache entry is evicted from the cache.
Gets or sets the priority for keeping the cache entry in the cache during a
memory pressure triggered cleanup. The default is Normal.
Gets or sets the size of the cache entry value.
Gets or sets how long a cache entry can be inactive (e.g. not accessed) before it will be removed.
This will not extend the entry lifetime beyond the absolute expiration (if set).
public MemoryCacheEntryOptions()