ServiceBasedControllerActivator Class

Summary

A [Microsoft.AspNet.Mvc.IControllerActivator]() that retrieves controllers as services from the request’s [System.IServiceProvider]().

Syntax

public class ServiceBasedControllerActivator : IControllerActivator

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ServiceBasedControllerActivator

Methods

Create(Microsoft.AspNet.Mvc.ActionContext, System.Type)
Arguments:
Return type:

System.Object

public object Create(ActionContext actionContext, Type controllerType)