DefaultControllerActivator.Release(ControllerContext, Object) 方法

定义

释放控制器。

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

参数

context
ControllerContext

执行 ControllerContext 操作的 。

controller
Object

要释放的控制器。

实现

适用于