RedisXmlRepository(Func<IDatabase>, RedisKey) Constructor

Definition

Creates a RedisXmlRepository with keys stored at the given directory.

public:
 RedisXmlRepository(Func<StackExchange::Redis::IDatabase ^> ^ databaseFactory, StackExchange::Redis::RedisKey key);
public RedisXmlRepository (Func<StackExchange.Redis.IDatabase> databaseFactory, StackExchange.Redis.RedisKey key);
new Microsoft.AspNetCore.DataProtection.RedisXmlRepository : Func<StackExchange.Redis.IDatabase> * StackExchange.Redis.RedisKey -> Microsoft.AspNetCore.DataProtection.RedisXmlRepository
Public Sub New (databaseFactory As Func(Of IDatabase), key As RedisKey)

Parameters

databaseFactory
Func<StackExchange.Redis.IDatabase>

The delegate used to create StackExchange.Redis.IDatabase instances.

key
StackExchange.Redis.RedisKey

The StackExchange.Redis.RedisKey used to store key list.

Applies to