Delen via


DefaultControllerFactory.ReleaseController(ControllerContext, Object) Method

Definition

Releases a controller instance.

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

Parameters

context
ControllerContext

ControllerContext for the executing action.

controller
Object

The controller.

Implements

Applies to