C# Class SportyGeek.WebUI.Infrastructure.NinjectControllerFactory

Inheritance: System.Web.Mvc.DefaultControllerFactory
显示文件 Open project: joshperry/stuff

Public Methods

Method Description
NinjectControllerFactory ( IKernel kernel ) : System

Protected Methods

Method Description
GetControllerInstance ( System requestContext, Type controllerType ) : IController
GetControllerType ( System requestContext, string controllerName ) : Type

Method Details

GetControllerInstance() protected method

protected GetControllerInstance ( System requestContext, Type controllerType ) : IController
requestContext System
controllerType System.Type
return IController

GetControllerType() protected method

protected GetControllerType ( System requestContext, string controllerName ) : Type
requestContext System
controllerName string
return System.Type

NinjectControllerFactory() public method

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