RedisXmlRepository(Func<IDatabase>, RedisKey) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.