public void TearDown() { linkTwo.Dispose(); linkOne.Dispose(); redisOne.Dispose(); redisTwo.Dispose(); }
public void Dispose() { if (mux != null && mux.IsConnected) { mux.Close(false); } redis.Dispose(); }
public void Restart() { redisInside?.Dispose(); redisInside = new RedisInside.Redis(configuration => configuration.Port(0)); }
public void TearDown() { Redis.Dispose(); redisInstance.Dispose(); }
public void TearDown() { link.Close(); redis.Dispose(); }
public void Clean() { link.Dispose(); cache.Dispose(); redis.Dispose(); }
public void TearDown() { link.Close(); service.Dispose(); }