SimpleInjectorAspNetCoreBuilderMvcExtensions Class

Simple Injector
Extension methods for SimpleInjectorAspNetCoreBuilder that allow integrating Simple Injector with ASP.NET Core MVC page models and tag helpers.
Inheritance Hierarchy

SystemObject
  SimpleInjectorSimpleInjectorAspNetCoreBuilderMvcExtensions

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

public static class SimpleInjectorAspNetCoreBuilderMvcExtensions

The SimpleInjectorAspNetCoreBuilderMvcExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddPageModelActivation
Registers all application's page models in Simple Injector and instructs ASP.NET Core to let Simple Injector create those page models.
Public methodStatic memberAddTagHelperActivation
Registers the application's tag helpers that in Simple Injector and instructs ASP.NET Core to let Simple Injector create those tag helpers.
Top
See Also

Reference