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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for