共用方式為


CoreOptionsExtension.MemoryCache 屬性

定義

UseMemoryCache(IMemoryCache) 方法設定的選項。

public virtual Microsoft.Extensions.Caching.Memory.IMemoryCache MemoryCache { get; }
public virtual Microsoft.Extensions.Caching.Memory.IMemoryCache? MemoryCache { get; }
member this.MemoryCache : Microsoft.Extensions.Caching.Memory.IMemoryCache
Public Overridable ReadOnly Property MemoryCache As IMemoryCache

屬性值

適用於