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
Parameters
- context
- Type: ControllerContext
The Microsoft.AspNet.Mvc.ActionContext for the executing action.
Return Value
Type: ObjectA new controller instance.
See Also