Inheritance: System.Web.Mvc.DefaultControllerFactory
Esempio n. 1
0
 private static void BootstrapContainer()
 {
     _container = new WindsorContainer()
         .Install(FromAssembly.This());
     var controllerFactory = new WindsorControllerFactory(_container.Kernel);
     ControllerBuilder.Current.SetControllerFactory(controllerFactory);
 }
Esempio n. 2
0
        private static void BootstrapContainer()
        {
            _container = new WindsorContainer()
                         .Install(FromAssembly.This());
            var controllerFactory = new WindsorControllerFactory(_container.Kernel);

            ControllerBuilder.Current.SetControllerFactory(controllerFactory);
        }