다음을 통해 공유


MemoryDistributedCache 생성자

정의

오버로드

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)

MemoryDistributedCache 인스턴스를 만듭니다.

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

MemoryDistributedCache 인스턴스를 만듭니다.

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)

Source:
MemoryDistributedCache.cs
Source:
MemoryDistributedCache.cs
Source:
MemoryDistributedCache.cs

MemoryDistributedCache 인스턴스를 만듭니다.

public:
 MemoryDistributedCache(Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Caching::Memory::MemoryDistributedCacheOptions ^> ^ optionsAccessor);
public MemoryDistributedCache (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Memory.MemoryDistributedCacheOptions> optionsAccessor);
new Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Memory.MemoryDistributedCacheOptions> -> Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache
Public Sub New (optionsAccessor As IOptions(Of MemoryDistributedCacheOptions))

매개 변수

optionsAccessor
IOptions<MemoryDistributedCacheOptions>

캐시의 옵션입니다.

적용 대상

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

Source:
MemoryDistributedCache.cs
Source:
MemoryDistributedCache.cs
Source:
MemoryDistributedCache.cs

MemoryDistributedCache 인스턴스를 만듭니다.

public:
 MemoryDistributedCache(Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Caching::Memory::MemoryDistributedCacheOptions ^> ^ optionsAccessor, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public MemoryDistributedCache (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Memory.MemoryDistributedCacheOptions> optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Memory.MemoryDistributedCacheOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache
Public Sub New (optionsAccessor As IOptions(Of MemoryDistributedCacheOptions), loggerFactory As ILoggerFactory)

매개 변수

optionsAccessor
IOptions<MemoryDistributedCacheOptions>

캐시의 옵션입니다.

loggerFactory
ILoggerFactory

메시지를 기록하는 데 사용할 로 ILogger 거 팩터리입니다.

적용 대상