Click or drag to resize

AutofacMultitenantServiceCollectionExtensions Class

Extension methods for the IServiceCollection interface.
Inheritance Hierarchy
SystemObject
  Microsoft.AspNetCore.HostingAutofacMultitenantServiceCollectionExtensions

Namespace:  Microsoft.AspNetCore.Hosting
Assembly:  Autofac.Integration.AspNetCore.Multitenant (in Autofac.Integration.AspNetCore.Multitenant.dll) Version: 4.0.1+b60273783824e015af81d477fca338eb146578d7
Syntax
public static class AutofacMultitenantServiceCollectionExtensions

The AutofacMultitenantServiceCollectionExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddAutofacMultitenantRequestServices
Adds the multitenant Autofac request services middleware, which ensures request lifetimes spawn from the container rather than a pre-resolved tenant lifetime scope. This allows tenant identification to occur at the time of request scope generation.
Top
See Also