C# Класс BlogSharp.MvcExtensions.ControllerFactories.WindsorControllerFactory

The factory for the Windsor controllers
Наследование: System.Web.Mvc.DefaultControllerFactory, IExtendedControllerFactory
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateController ( System.Web.Routing.RequestContext context, Type controllerType ) : IController

Creates a new controller.

ReleaseController ( IController controller ) : void

Releases a created controller.

WindsorControllerFactory ( IKernel kernel ) : System

Initializes a new instance of the WindsorControllerFactory class.

Защищенные методы

Метод Описание
GetControllerInstance ( Type controllerType ) : IController

Obtains a Instance of a existent controller.

Описание методов

CreateController() публичный Метод

Creates a new controller.
public CreateController ( System.Web.Routing.RequestContext context, Type controllerType ) : IController
context System.Web.Routing.RequestContext The context of the creation.
controllerType System.Type The type of controller.
Результат IController

GetControllerInstance() защищенный Метод

Obtains a Instance of a existent controller.
protected GetControllerInstance ( Type controllerType ) : IController
controllerType System.Type The type of controller.
Результат IController

ReleaseController() публичный Метод

Releases a created controller.
public ReleaseController ( IController controller ) : void
controller IController The controller to release.
Результат void

WindsorControllerFactory() публичный Метод

Initializes a new instance of the WindsorControllerFactory class.
public WindsorControllerFactory ( IKernel kernel ) : System
kernel IKernel The Windsor kernel.
Результат System