Compartir a través de


ControllerActivatorProvider.CreateAsyncReleaser Método

Definición

Crea un objeto Action que libera un controlador.

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)

Parámetros

Devoluciones

Delegado que se usa para eliminar el controlador activado.

Implementaciones

Se aplica a