ServiceBasedControllerActivator Class¶
Summary¶
A [Microsoft.AspNet.Mvc.IControllerActivator]() that retrieves controllers as services from the request’s [System.IServiceProvider]().
Methods¶
-
Create
(Microsoft.AspNet.Mvc.ActionContext, System.Type)¶ Arguments: - actionContext (Microsoft.AspNet.Mvc.ActionContext) –
- controllerType (System.Type) –
Return type: System.Object
public object Create(ActionContext actionContext, Type controllerType)
-