BlogSharp.MvcExtensions.ControllerFactories.WindsorControllerFactory.GetControllerInstance C# (CSharp) Méthode

GetControllerInstance() protected méthode

Obtains a Instance of a existent controller.
protected GetControllerInstance ( Type controllerType ) : IController
controllerType System.Type The type of controller.
Résultat IController
        protected override IController GetControllerInstance(Type controllerType)
        {
            return kernel.Resolve(controllerType) as IController;
        }