Example #1
0
 public RedisConfigurator AddServer( string host )
 {
     var server = new RedisHost {Host = host};
     Configuration.Hosts[host] = server;
     return this;
 }
Example #2
0
 public RedisConfigurator AddLocalServer()
 {
     var server = new RedisHost();
     Configuration.Hosts["local"] = server;
     return this;
 }
Example #3
0
 public RedisConfigurator AddServer( string host, int port )
 {
     var server = new RedisHost( host, port );
     Configuration.Hosts[host] = server;
     return this;
 }