ControllerActivatorProvider.CreateAsyncReleaser 方法

定义

创建释放 Action 控制器的 。

public Func<Microsoft.AspNetCore.Mvc.ControllerContext,object,System.Threading.Tasks.ValueTask>? CreateAsyncReleaser (Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor);
abstract member CreateAsyncReleaser : Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.ControllerContext, obj, System.Threading.Tasks.ValueTask>
override this.CreateAsyncReleaser : Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.ControllerContext, obj, System.Threading.Tasks.ValueTask>
Public Function CreateAsyncReleaser (descriptor As ControllerActionDescriptor) As Func(Of ControllerContext, Object, ValueTask)

参数

返回

用于释放激活的控制器的委托。

实现

适用于