Class RedisDataProvider
- Namespace
- combit.Reporting.DataProviders
- Assembly
- combit.ListLabel31.CrossPlatform.RedisDataProvider.dll
Provider for Redis using https://github.com/StackExchange/StackExchange.Redis
[Serializable]
public sealed class RedisDataProvider : IDataProvider, IDisposable, ISerializable
- Inheritance
-
RedisDataProvider
- Implements
- Inherited Members
Constructors
RedisDataProvider(string)
Creates a new StackExchange.Redis.RedisDatabase instance
public RedisDataProvider(string multiplexerConfiguration)
Parameters
multiplexerConfigurationstringThe string configuration for the multiplexer
Properties
RegisteredHashTables
Holds the user-registered HashTables and their filter. Return the tablename if your filter applies for the given string or null/String.Empty if it doesnt apply
public List<Func<string, string>> RegisteredHashTables { get; }
Property Value
Examples
provider.RegisteredHashTables.Add((s) => { if (s.StartsWith("user")) return "user"; return null; });
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
~RedisDataProvider()
protected ~RedisDataProvider()