IControllerFactory.ReleaseController(ControllerContext, Object) 方法

定义

释放控制器实例。

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)

参数

context
ControllerContext

ControllerContext 执行操作的 。

controller
Object

控制器。

适用于