Esempio n. 1
0
 public BusInitializer(IBus bus, IEasyNetQSubscriptionHandler subscriptionHandler,
                       EasyNetQConfigurationSection configurationSection)
 {
     this.bus = bus;
     this.subscriptionHandler  = subscriptionHandler;
     this.configurationSection = configurationSection;
 }
Esempio n. 2
0
        public BusInitializerTests()
        {
            configurationSection = new EasyNetQConfigurationSection();
            bus = Substitute.For <IBus>();
            subscriptionHandler = Substitute.For <IEasyNetQSubscriptionHandler>();

            sut = new BusInitializer(bus, subscriptionHandler, configurationSection);
        }
Esempio n. 3
0
 public EasyNetQModule(EasyNetQConfigurationSection configurationSection)
 {
     this.configurationSection = configurationSection;
 }