C# Class MvcToFubu.Core.Components.MvcToFubuControllerFactory

Inheritance: System.Web.Mvc.DefaultControllerFactory
Show file Open project: bobpace/MvcToFubu

Public Methods

Method Description
IsValidControllerName ( System.Web.Routing.RequestContext requestContext, string controllerName ) : bool
MvcToFubuControllerFactory ( IContainer container ) : System

Protected Methods

Method Description
GetControllerInstance ( System.Web.Routing.RequestContext requestContext, Type controllerType ) : IController

Method Details

GetControllerInstance() protected method

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

IsValidControllerName() public method

public IsValidControllerName ( System.Web.Routing.RequestContext requestContext, string controllerName ) : bool
requestContext System.Web.Routing.RequestContext
controllerName string
return bool

MvcToFubuControllerFactory() public method

public MvcToFubuControllerFactory ( IContainer container ) : System
container IContainer
return System