SimpleInjectorControllerActivatorCreate Method

Simple Injector
Creates a 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 Object Create(
	ControllerContext context
)

Parameters

context
Type: ControllerContext
The Microsoft.AspNet.Mvc.ActionContext for the executing action.

Return Value

Type: Object
A new controller instance.
See Also

Reference