SimpleInjectorControllerActivatorRelease Method

Simple Injector
Releases the controller.

Namespace:  SimpleInjector.Integration.AspNetCore.Mvc
Assembly:  SimpleInjector.Integration.AspNetCore.Mvc.Core (in SimpleInjector.Integration.AspNetCore.Mvc.Core.dll) Version: 4.9.1
Syntax

public void Release(
	ControllerContext context,
	Object controller
)

Parameters

context
Type: ControllerContext
The Microsoft.AspNet.Mvc.ActionContext for the executing action.
controller
Type: SystemObject
The controller instance.
See Also

Reference