Partager via


IControllerFactoryProvider.CreateControllerReleaser Méthode

Définition

Libère un contrôleur.

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)

Paramètres

Retours

Délégué utilisé pour libérer le contrôleur créé.

S’applique à