Class RedisOptions
Represents all key-value redis related output serialization options
including formats, encodings, delimiters and performance metrics.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Model.Options
Assembly: Mars.Interfaces.dll
Syntax
public class RedisOptions : AbstractEndpointOptions, IDisposable
Constructors
| Improve this Doc View SourceRedisOptions()
Represents all key-value redis related output serialization options
including formats, encodings, delimiters and performance metrics.
Declaration
public RedisOptions()
Properties
| Improve this Doc View SourceEncrypt
Gets or sets a flag, indicating whether the connection shall be encrypted.
Declaration
[JsonProperty("ssl", NullValueHandling = NullValueHandling.Ignore)]
public bool Encrypt { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Serialization
Gets or sets the serialization format
Declaration
[JsonProperty("valueFormat", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(SerializationTypeConverter))]
public SerializationType Serialization { get; set; }
Property Value
Type | Description |
---|---|
SerializationType |
Implements
System.IDisposable