Inheritance: FlipperDotNet.AdapterTests.Interop.RubyAdapter
        public void SetUp()
        {
            var endpoint = Redis.GetEndPoints().First();
            var server = Redis.GetServer(endpoint);
            server.FlushDatabase();
            var database = Redis.GetDatabase();
            adapter = new RedisAdapter(database);
            flipper = new Flipper (adapter);

            rubyAdapter = new RedisRubyAdapter();
        }
Esempio n. 2
0
        public void SetUp()
        {
            var endpoint = Redis.GetEndPoints().First();
            var server   = Redis.GetServer(endpoint);

            server.FlushDatabase();
            var database = Redis.GetDatabase();

            adapter = new RedisAdapter(database);
            flipper = new Flipper(adapter);

            rubyAdapter = new RedisRubyAdapter();
        }