Udostępnij za pośrednictwem


IControllerActivatorProvider.CreateAsyncReleaser Metoda

Definicja

Tworzy obiekt Action , który zwalnia kontroler.

public virtual 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 Overridable Function CreateAsyncReleaser (descriptor As ControllerActionDescriptor) As Func(Of ControllerContext, Object, ValueTask)

Parametry

Zwraca

Delegat używany do usuwania aktywowanego kontrolera.

Dotyczy