SimpleInjectorAspNetCoreBuilderMvcCoreExtensions Class

Simple Injector
Extension methods for SimpleInjectorAspNetCoreBuilder that allow integrating Simple Injector with ASP.NET Core MVC controllers and view components.
Inheritance Hierarchy

SystemObject
  SimpleInjectorSimpleInjectorAspNetCoreBuilderMvcCoreExtensions

Namespace:  SimpleInjector
Assembly:  SimpleInjector.Integration.AspNetCore.Mvc.Core (in SimpleInjector.Integration.AspNetCore.Mvc.Core.dll) Version: 4.6.0
Syntax

public static class SimpleInjectorAspNetCoreBuilderMvcCoreExtensions

The SimpleInjectorAspNetCoreBuilderMvcCoreExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddControllerActivation
Registers all application's controllers in Simple Injector and instructs ASP.NET Core to let Simple Injector create those controllers.
Public methodStatic memberAddViewComponentActivation
Registers all application's view components in Simple Injector and instructs ASP.NET Core to let Simple Injector create those view components.
Top
See Also

Reference