C# Class Sage.Controllers.SageControllerFactory

Implements a factory for IControllers used within this application.
Inheritance: System.Web.Mvc.DefaultControllerFactory
Datei anzeigen Open project: igorfrance/sage Class Usage Examples

Protected Methods

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

Constructs the controller instance needed to service the current request.

Method Details

GetControllerInstance() protected method

Constructs the controller instance needed to service the current request.
protected GetControllerInstance ( System.Web.Routing.RequestContext requestContext, Type type ) : IController
requestContext System.Web.Routing.RequestContext The request context under which this method is being called.
type System.Type The type of the controller to create.
return IController