Exemplo n.º 1
0
        public static void ConfigureContainerForTests(IWindsorContainer container)
        {
            container.ConfigureWiringForTestsCallBeforeAllOtherWiring();

            SharedWiring(container);
            container.Register(
                Component.For <IServiceBus>().ImplementedBy <SynchronousBus>().LifestylePerWebRequest()
                );


            container.ConfigureWiringForTestsCallAfterAllOtherWiring();
        }
        public static void ConfigureContainerForTests(IWindsorContainer container)
        {
            container.ConfigureWiringForTestsCallBeforeAllOtherWiring();

            SharedWiring(container);
            container.Register(
                Component.For<IServiceBus>().ImplementedBy<SynchronousBus>().LifestylePerWebRequest()
                );


            container.ConfigureWiringForTestsCallAfterAllOtherWiring();
        }