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.1.0-alpha1
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.

Implements

IControllerActivator.Release(ControllerContext, Object)
See Also

Reference