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

A custom controller activator, which uses specified service locator for controller activation.
Inheritance: IControllerActivator
Afficher le fichier Open project: Chinaccn/surfboard

Méthodes publiques

Méthode Description
Create ( System.Web.Routing.RequestContext requestContext, Type controllerType ) : IController

Creates the specified request context.

ServiceLocatableControllerActivator ( string serviceLocatorName = "" ) : System

Method Details

Create() public méthode

Creates the specified request context.
public Create ( System.Web.Routing.RequestContext requestContext, Type controllerType ) : IController
requestContext System.Web.Routing.RequestContext The request context.
controllerType System.Type Type of the controller.
Résultat IController

ServiceLocatableControllerActivator() public méthode

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