Class RedisCacheConnectorOptions
public class RedisCacheConnectorOptions : AbstractServiceConnectorOptions
- Inheritance
-
RedisCacheConnectorOptions
- Inherited Members
Constructors
RedisCacheConnectorOptions()
public RedisCacheConnectorOptions()
RedisCacheConnectorOptions(IConfiguration)
public RedisCacheConnectorOptions(IConfiguration config)
Parameters
config
IConfiguration
Properties
AbortOnConnectFail
public bool AbortOnConnectFail { get; set; }
Property Value
AllowAdmin
public bool AllowAdmin { get; set; }
Property Value
ClientName
public string ClientName { get; set; }
Property Value
ConnectRetry
public int ConnectRetry { get; set; }
Property Value
ConnectTimeout
public int ConnectTimeout { get; set; }
Property Value
ConnectionString
public string ConnectionString { get; set; }
Property Value
EndPoints
public string EndPoints { get; set; }
Property Value
Host
public string Host { get; set; }
Property Value
InstanceName
public string InstanceName { get; set; }
Property Value
KeepAlive
public int KeepAlive { get; set; }
Property Value
Password
public string Password { get; set; }
Property Value
Port
public int Port { get; set; }
Property Value
ResolveDns
public bool ResolveDns { get; set; }
Property Value
ServiceName
public string ServiceName { get; set; }
Property Value
Ssl
public bool Ssl { get; set; }
Property Value
SslHost
public string SslHost { get; set; }
Property Value
SyncTimeout
public int SyncTimeout { get; set; }
Property Value
TieBreaker
public string TieBreaker { get; set; }
Property Value
WriteBuffer
public int WriteBuffer { get; set; }
Property Value
Methods
ToMicrosoftExtensionObject(Type)
Get a Redis configuration object for use with Microsoft.Extensions.Caching.Redis
public object ToMicrosoftExtensionObject(Type optionsType)
Parameters
optionsType
TypeExpects Microsoft.Extensions.Caching.Redis.RedisCacheOptions
Returns
- object
This object typed as RedisCacheOptions
ToStackExchangeObject(Type)
Get a Redis configuration object for use with StackExchange.Redis
public object ToStackExchangeObject(Type optionsType)
Parameters
optionsType
TypeExpects StackExchange.Redis.ConfigurationOptions
Returns
- object
This object typed as ConfigurationOptions
Remarks
Includes comma in password detection and workaround for https://github.com/SteeltoeOSS/Connectors/issues/10
ToString()
public override string ToString()