Наследование: FlipperDotNet.AdapterTests.Interop.RubyAdapter
Пример #1
0
        public void SetUp()
        {
            client = new Client();
            client.KV.DeleteTree("/");
            adapter = new ConsulAdapter(client);
            flipper = new Flipper(adapter);

            rubyAdapter = new ConsulRubyAdapter();
        }
Пример #2
0
        public void SetUp()
        {
            client = new Client();
            client.KV.DeleteTree("/");
            adapter = new ConsulAdapter(client);
            flipper = new Flipper(adapter);

            rubyAdapter = new ConsulRubyAdapter();
        }
        public void SetUp()
        {
            _client = new ConsulClient();
            var pairs = _client.KV.Keys("/", "/").Result;
            foreach (var key in pairs.Response)
            {
                _client.KV.DeleteTree(key).Wait();
            }
            adapter = new ConsulAdapter(_client);
            flipper = new Flipper(adapter);

            rubyAdapter = new ConsulRubyAdapter();
        }