IControllerActivator.Release(ControllerContext, Object) 方法

定义

释放控制器。

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)

参数

context
ControllerContext

ControllerContext执行操作的 。

controller
Object

要释放的控制器。

适用于