ModelSourceDependencies.MemoryCache 属性

定义

获取 IMemoryCache 将用于缓存模型的 。

public Microsoft.Extensions.Caching.Memory.IMemoryCache MemoryCache { get; }
public Microsoft.Extensions.Caching.Memory.IMemoryCache MemoryCache { get; init; }
member this.MemoryCache : Microsoft.Extensions.Caching.Memory.IMemoryCache
member this.MemoryCache : Microsoft.Extensions.Caching.Memory.IMemoryCache with get, set
Public ReadOnly Property MemoryCache As IMemoryCache
Public Property MemoryCache As IMemoryCache

属性值

适用于