IControllerFactoryProvider.CreateControllerReleaser 方法

定义

释放控制器。

public:
 Action<Microsoft::AspNetCore::Mvc::ControllerContext ^, System::Object ^> ^ CreateControllerReleaser(Microsoft::AspNetCore::Mvc::Controllers::ControllerActionDescriptor ^ descriptor);
public Action<Microsoft.AspNetCore.Mvc.ControllerContext,object> CreateControllerReleaser (Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor);
public Action<Microsoft.AspNetCore.Mvc.ControllerContext,object>? CreateControllerReleaser (Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor);
abstract member CreateControllerReleaser : Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor -> Action<Microsoft.AspNetCore.Mvc.ControllerContext, obj>
Public Function CreateControllerReleaser (descriptor As ControllerActionDescriptor) As Action(Of ControllerContext, Object)

参数

返回

用于释放创建的控制器的委托。

适用于