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

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

Public Methods

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

Creates the specified request context.

ServiceLocatableControllerActivator ( string serviceLocatorName = "" ) : System

Method Details

Create() public method

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.
return IController

ServiceLocatableControllerActivator() public method

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