Click or drag to resize

AutofacRegistration Class

Extension methods for registering ASP.NET Core dependencies with Autofac.
Inheritance Hierarchy
SystemObject
  Autofac.Extensions.DependencyInjectionAutofacRegistration

Namespace:  Autofac.Extensions.DependencyInjection
Assembly:  Autofac.Extensions.DependencyInjection (in Autofac.Extensions.DependencyInjection.dll) Version: 4.3.1+a12726d7f5ac770ccfbf2e2b1329617353bdf6c8
Syntax
public static class AutofacRegistration
Methods
  NameDescription
Public methodStatic memberPopulate(ContainerBuilder, IEnumerableServiceDescriptor)
Populates the Autofac container builder with the set of registered service descriptors and makes IServiceProvider and IServiceScopeFactory available in the container.
Public methodStatic memberPopulate(ContainerBuilder, IEnumerableServiceDescriptor, Object)
Populates the Autofac container builder with the set of registered service descriptors and makes IServiceProvider and IServiceScopeFactory available in the container. Using this overload is incompatible with the ASP.NET Core support for IServiceProviderFactory.
Top
See Also