Share via


IControllerFactory.ReleaseController(ControllerContext, Object) Method

Definition

Releases a controller instance.

public:
 void ReleaseController(Microsoft::AspNetCore::Mvc::ControllerContext ^ context, System::Object ^ controller);
public void ReleaseController (Microsoft.AspNetCore.Mvc.ControllerContext context, object controller);
abstract member ReleaseController : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> unit
Public Sub ReleaseController (context As ControllerContext, controller As Object)

Parameters

context
ControllerContext

ControllerContext for the executing action.

controller
Object

The controller.

Applies to