Class AutofacRegistration
Extension methods for registering ASP.NET Core dependencies with Autofac.
Inheritance
System.Object
AutofacRegistration
Namespace: Autofac.Extensions.DependencyInjection
Assembly: Volo.Abp.Autofac.dll
Syntax
public static class AutofacRegistration : object
Methods
Populate(ContainerBuilder, IServiceCollection)
Populates the Autofac container builder with the set of registered service descriptors
and makes
Declaration
public static void Populate(this ContainerBuilder builder, IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| ContainerBuilder | builder | The |
| IServiceCollection | services | The set of service descriptors to register in the container. |