MemoryDistributedCache Konstruktoren

Definition

Überlädt

MemoryDistributedCache(IMemoryCache)
MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)

Erstellt eine neue MemoryDistributedCache-Instanz.

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

Erstellt eine neue MemoryDistributedCache-Instanz.

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)

Parameter

memoryCache
IMemoryCache

Gilt für:

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>)

Quelle:
MemoryDistributedCache.cs
Quelle:
MemoryDistributedCache.cs
Quelle:
MemoryDistributedCache.cs
Quelle:
MemoryDistributedCache.cs

Erstellt eine neue MemoryDistributedCache-Instanz.

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

Parameter

optionsAccessor
IOptions<MemoryDistributedCacheOptions>

Die Optionen des Cache.

Gilt für:

MemoryDistributedCache(IOptions<MemoryDistributedCacheOptions>, ILoggerFactory)

Quelle:
MemoryDistributedCache.cs
Quelle:
MemoryDistributedCache.cs
Quelle:
MemoryDistributedCache.cs
Quelle:
MemoryDistributedCache.cs

Erstellt eine neue MemoryDistributedCache-Instanz.

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)

Parameter

optionsAccessor
IOptions<MemoryDistributedCacheOptions>

Die Optionen des Cache.

loggerFactory
ILoggerFactory

Die zu erstellende ILogger Protokollierungsfactory wird zum Protokollieren von Nachrichten verwendet.

Gilt für: