Condividi tramite


IControllerFactoryProvider.CreateAsyncControllerReleaser Metodo

Definizione

Rilascia un controller in modo asincrono.

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

Parametri

Restituisce

Delegato usato per rilasciare il controller creato in modo asincrono.

Si applica a