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: 5.0.0
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