public void Setup(IRabbitSetup rabbitSetup)
        {
            Console.WriteLine("## Settign up environment");
            var channel = _channelFactory();

            rabbitSetup.Execute(channel);
        }
        public string Setup(IRabbitSetup rabbitSetup)
        {
            Console.WriteLine("## Setting up environment");
            var channel = _channelFactory();

            return(rabbitSetup.Execute(channel));
        }
示例#3
0
        public string Setup(IRabbitSetup rabbitSetup, IModel resolve)
        {
            Console.WriteLine("## Setting up environment");

            return(rabbitSetup.Execute(resolve));
        }