MemoryDistributedCache Constructors

Definition

Overloads

MemoryDistributedCache(IMemoryCache)
MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)
MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

MemoryDistributedCache(IMemoryCache)

public:
 MemoryDistributedCache(Microsoft::Extensions::Caching::Memory::IMemoryCache ^ memoryCache);
public MemoryDistributedCache (Microsoft.Extensions.Caching.Memory.IMemoryCache memoryCache);
new Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache : Microsoft.Extensions.Caching.Memory.IMemoryCache -> Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache
Public Sub New (memoryCache As IMemoryCache)

Parameters

memoryCache
IMemoryCache

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)

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))

Parameters

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

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)

Parameters

loggerFactory
ILoggerFactory

Applies to