public string Quit()
        {
            ValidateNotDisposed();

            using var connection = new RedisConnection(_connectionSettings);
            var command = new Quit(connection.GetStream());

            return(command.Execute());
        }
Beispiel #2
0
        public void Execute_OfQuit_ClosesRunTimeEnvironment()
        {
            var rte  = MakeRunTimeEnvironment();
            var quit = new Quit();

            quit.Execute(rte);

            Assert.IsTrue(rte.IsClosed);
        }