Udostępnij za pośrednictwem


IControllerFactoryProvider.CreateControllerReleaser Metoda

Definicja

Zwalnia kontroler.

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

Parametry

Zwraca

Delegat używany do zwolnienia utworzonego kontrolera.

Dotyczy