Partager via


ControllerActivatorProvider.CreateReleaser(ControllerActionDescriptor) Méthode

Définition

Crée un Action qui libère un contrôleur.

public:
 virtual 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>
override this.CreateReleaser : Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor -> Action<Microsoft.AspNetCore.Mvc.ControllerContext, obj>
Public Function CreateReleaser (descriptor As ControllerActionDescriptor) As Action(Of ControllerContext, Object)

Paramètres

Retours

Délégué utilisé pour supprimer le contrôleur activé.

Implémente

S’applique à