Class RedisOptions
Represents the configurations to get a redis connection
Inheritance
System.Object
RedisOptions
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.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StoneCo.Framework.Data.Redis.Options
Assembly: cs.temp.dll.dll
Syntax
public class RedisOptions
Properties
Collection
Name of the Collection that will be make the first node of uri.
Declaration
public string Collection { get; set; }
Property Value
Type | Description |
---|---|
System.String | sample: FooParent, Bar |
DataBase
Database number. By default, zero number is default value. Usually database is a number between 0 and 18.
Declaration
public int DataBase { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | 0,1, 18 |
Host
Host server address without Port value.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String | redis.stone.com.br |
Password
Redis server password. By default this value will not be passed.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | sample: null, stone@123 |
Port
Port number to access the service.
Declaration
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | sample: 6379, null |