C# Class Cedar.Framework.Common.Client.MVC.ServiceLocatableControllerFactory

Inheritance: System.Web.Mvc.DefaultControllerFactory
Show file Open project: Chinaccn/surfboard

Public Methods

Method Description
ServiceLocatableControllerFactory ( string serviceLocatorName = "" ) : System

Protected Methods

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

Retrieves the controller instance for the specified request context and controller type.

Method Details

GetControllerInstance() protected method

Retrieves the controller instance for the specified request context and controller type.
/// is null. /// /// cannot be assigned. /// /// An instance of cannot be /// created. ///
protected GetControllerInstance ( System.Web.Routing.RequestContext requestContext, Type controllerType ) : IController
requestContext System.Web.Routing.RequestContext The context of the HTTP request, which includes the HTTP context and route data.
controllerType System.Type The type of the controller.
return IController

ServiceLocatableControllerFactory() public method

public ServiceLocatableControllerFactory ( string serviceLocatorName = "" ) : System
serviceLocatorName string
return System