public void Connect(RedisConnectionStringBuilder connectionString) { _client = new RedisClientAsync(((IPEndPoint)connectionString.EndPoint).Address.ToString(), ((IPEndPoint)connectionString.EndPoint).Port, 10000); _syncClient = new ctstone.Redis.RedisClient(((IPEndPoint)connectionString.EndPoint).Address.ToString(), ((IPEndPoint)connectionString.EndPoint).Port, 10000); }
public void Connect(RedisConnectionStringBuilder connectionString) { _client = new RedisClientAsync(((IPEndPoint) connectionString.EndPoint).Address.ToString(), ((IPEndPoint) connectionString.EndPoint).Port, 10000); _syncClient = new ctstone.Redis.RedisClient(((IPEndPoint) connectionString.EndPoint).Address.ToString(), ((IPEndPoint) connectionString.EndPoint).Port, 10000); }