Esempio n. 1
0
 private static void SetMvcContainer(IWindsorContainer container)
 {
     var controllerFactory = new WindsorControllerFactory(container.Kernel);
     ControllerBuilder.Current.SetControllerFactory(controllerFactory);
 }
Esempio n. 2
0
        private static void SetMvcContainer(IWindsorContainer container)
        {
            var controllerFactory = new WindsorControllerFactory(container.Kernel);

            ControllerBuilder.Current.SetControllerFactory(controllerFactory);
        }