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: 4.1.0-alpha1
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.

Implements

IControllerActivator.Create(ControllerContext)
See Also

Reference