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

Inheritance: System.Web.Mvc.DefaultControllerFactory
Afficher le fichier Open project: Chinaccn/surfboard

Méthodes publiques

Méthode Description
ServiceLocatableControllerFactory ( string serviceLocatorName = "" ) : System

Méthodes protégées

Méthode 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 méthode

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.
Résultat IController

ServiceLocatableControllerFactory() public méthode

public ServiceLocatableControllerFactory ( string serviceLocatorName = "" ) : System
serviceLocatorName string
Résultat System