Udostępnij za pośrednictwem


IControllerActivatorProvider.CreateReleaser Metoda

Definicja

Tworzy obiekt Action , który zwalnia kontroler.

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

Parametry

Zwraca

Delegat używany do usuwania aktywowanego kontrolera.

Dotyczy