MemoryDistributedCache Konstruktory

Definice

Přetížení

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)

Vytvoří novou instanci sloupce MemoryDistributedCache.

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

Vytvoří novou instanci sloupce MemoryDistributedCache.

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)

Zdroj:
MemoryDistributedCache.cs
Zdroj:
MemoryDistributedCache.cs
Zdroj:
MemoryDistributedCache.cs
Zdroj:
MemoryDistributedCache.cs
Zdroj:
MemoryDistributedCache.cs

Vytvoří novou instanci sloupce 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))

Parametry

optionsAccessor
IOptions<MemoryDistributedCacheOptions>

Možnosti mezipaměti.

Platí pro

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

Zdroj:
MemoryDistributedCache.cs
Zdroj:
MemoryDistributedCache.cs
Zdroj:
MemoryDistributedCache.cs
Zdroj:
MemoryDistributedCache.cs
Zdroj:
MemoryDistributedCache.cs

Vytvoří novou instanci sloupce 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)

Parametry

optionsAccessor
IOptions<MemoryDistributedCacheOptions>

Možnosti mezipaměti.

loggerFactory
ILoggerFactory

Objekt pro protokolování, který se má vytvořit ILogger , se používá k protokolování zpráv.

Platí pro