IControllerFactory Interface¶
Methods¶
-
CreateController
(Microsoft.AspNet.Mvc.ActionContext)¶ Creates a new controller for the specified <paramref name=”actionContext” />.
Arguments: - actionContext (Microsoft.AspNet.Mvc.ActionContext) – [Microsoft.AspNet.Mvc.ActionContext]() for the action to execute.
Return type: System.Object
Returns: The controller.
object CreateController(ActionContext actionContext)
-
ReleaseController
(System.Object)¶ Releases a controller instance.
Arguments: - controller (System.Object) – The controller.
void ReleaseController(object controller)
-