Bagikan melalui


RedisCache(IOptions<RedisCacheOptions>) Constructor

Definition

public:
 RedisCache(Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Caching::StackExchangeRedis::RedisCacheOptions ^> ^ optionsAccessor);
public RedisCache (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions> optionsAccessor);
new Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions> -> Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache
Public Sub New (optionsAccessor As IOptions(Of RedisCacheOptions))

Parameters

optionsAccessor
IOptions<RedisCacheOptions>

Applies to