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