C# Class MvcMusicStore.Factories.UnityControllerFactory

Inheritance: IControllerFactory
Mostrar archivo Open project: hoserdude/mvcmusicstore-instrumented Class Usage Examples

Public Methods

Method Description
CreateController ( System.Web.Routing.RequestContext requestContext, string controllerName ) : IController
GetControllerSessionBehavior ( System.Web.Routing.RequestContext requestContext, string controllerName ) : System.Web.SessionState.SessionStateBehavior
ReleaseController ( IController controller ) : void
UnityControllerFactory ( IUnityContainer container ) : System

Protected Methods

Method Description
UnityControllerFactory ( IUnityContainer container, IControllerFactory innerFactory ) : 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 ) : System.Web.SessionState.SessionStateBehavior
requestContext System.Web.Routing.RequestContext
controllerName string
return System.Web.SessionState.SessionStateBehavior

ReleaseController() public method

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

UnityControllerFactory() public method

public UnityControllerFactory ( IUnityContainer container ) : System
container IUnityContainer
return System

UnityControllerFactory() protected method

protected UnityControllerFactory ( IUnityContainer container, IControllerFactory innerFactory ) : System
container IUnityContainer
innerFactory IControllerFactory
return System