C# Class Hotelier.WindsorControllerFactory

Inheritance: IControllerFactory
显示文件 Open project: robashton/zombify

Public Methods

Method Description
CreateController ( System.Web.Routing.RequestContext requestContext, string controllerName ) : IController
GetControllerSessionBehavior ( System.Web.Routing.RequestContext requestContext, string controllerName ) : SessionStateBehavior
ReleaseController ( IController controller ) : void
WindsorControllerFactory ( IKernel kernel ) : System

Method Details

CreateController() public method

public CreateController ( System.Web.Routing.RequestContext requestContext, string controllerName ) : IController
requestContext System.Web.Routing.RequestContext
controllerName string
return IController

GetControllerSessionBehavior() public method

public GetControllerSessionBehavior ( System.Web.Routing.RequestContext requestContext, string controllerName ) : SessionStateBehavior
requestContext System.Web.Routing.RequestContext
controllerName string
return SessionStateBehavior

ReleaseController() public method

public ReleaseController ( IController controller ) : void
controller IController
return void

WindsorControllerFactory() public method

public WindsorControllerFactory ( IKernel kernel ) : System
kernel IKernel
return System