Dela via


IControllerActivator.Release(ControllerContext, Object) Method

Definition

Releases a controller.

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

Parameters

context
ControllerContext

The ControllerContext for the executing action.

controller
Object

The controller to release.

Applies to