Show / Hide Table of Contents

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 and available in the container.

Declaration
public static void Populate(this ContainerBuilder builder, IServiceCollection services)
Parameters
Type Name Description
ContainerBuilder builder

The into which the registrations should be made.

IServiceCollection services

The set of service descriptors to register in the container.

Back to top Powered by Volosoft