Sdílet prostřednictvím


IControllerActivatorProvider.CreateReleaser Metoda

Definice

Vytvoří ovladač Action , který uvolní 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

Návraty

Delegát použitý k odstranění aktivovaného kontroleru.

Platí pro