MemoryCacheOptions Class¶
- Namespace
Microsoft.Extensions.Caching.Memory
- Assemblies
- Microsoft.Extensions.Caching.Memory
Syntax¶
public class MemoryCacheOptions : IOptions<MemoryCacheOptions>
-
class
Microsoft.Extensions.Caching.Memory.
MemoryCacheOptions
Properties¶
-
Microsoft.Extensions.Caching.Memory.MemoryCacheOptions.
Clock
¶ Return type: Microsoft.Extensions.Internal.ISystemClock public ISystemClock Clock { get; set; }
-
Microsoft.Extensions.Caching.Memory.MemoryCacheOptions.
CompactOnMemoryPressure
¶ Return type: System.Boolean public bool CompactOnMemoryPressure { get; set; }
-
Microsoft.Extensions.Caching.Memory.MemoryCacheOptions.
ExpirationScanFrequency
¶ Return type: System.TimeSpan public TimeSpan ExpirationScanFrequency { get; set; }
-
Microsoft.Extensions.Caching.Memory.MemoryCacheOptions.
Value
¶ Return type: Microsoft.Extensions.Caching.Memory.MemoryCacheOptions MemoryCacheOptions IOptions<MemoryCacheOptions>.Value { get; }
-