Share via


ServiceBasedControllerActivator.Release(ControllerContext, Object) Method

Definition

Releases a controller.

public:
 virtual void Release(Microsoft::AspNetCore::Mvc::ControllerContext ^ context, System::Object ^ controller);
public virtual void Release (Microsoft.AspNetCore.Mvc.ControllerContext context, object controller);
abstract member Release : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> unit
override this.Release : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> unit
Public Overridable Sub Release (context As ControllerContext, controller As Object)

Parameters

context
ControllerContext

The ControllerContext for the executing action.

controller
Object

The controller to release.

Implements

Applies to