Share via


ContainerBuilderExtensions Class

Definition

Extension methods for IContainerBuilder.

public static class ContainerBuilderExtensions
type ContainerBuilderExtensions = class
Public Module ContainerBuilderExtensions
Inheritance
ContainerBuilderExtensions

Methods

AddDefaultODataServices(IContainerBuilder, ODataVersion)

Adds the default OData services to the IContainerBuilder.

AddDefaultODataServices(IContainerBuilder)

Adds the default OData services to the IContainerBuilder.

AddService(IContainerBuilder, ServiceLifetime, Type)

Adds a service of serviceType.

AddService<TService,TImplementation>(IContainerBuilder, ServiceLifetime)

Adds a service of TService with an TImplementation.

AddService<TService>(IContainerBuilder, ServiceLifetime, Func<IServiceProvider,TService>)

Adds a service of TService with an implementationFactory.

AddService<TService>(IContainerBuilder, ServiceLifetime)

Adds a service of TService.

AddServicePrototype<TService>(IContainerBuilder, TService)

Adds a service prototype of type TService.

Applies to