DefaultControllerFactory.ReleaseController(ControllerContext, Object) 方法

定义

释放控制器实例。

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)

参数

context
ControllerContext

ControllerContext 用于执行操作。

controller
Object

控制器。

实现

适用于