IControllerFactoryProvider.CreateControllerReleaser Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases a controller.
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)
Parameters
- descriptor
- ControllerActionDescriptor
Returns
The delegate used to release the created controller.