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

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