Table of Contents

Namespace Microsoft.Extensions.DependencyInjection

Classes

ActivatorUtilities

Helper code for the various activator services.

ServiceCollection

Default implementation of IServiceCollection.

ServiceCollectionContainerBuilderExtensions

Extension methods for building a ServiceProvider from an IServiceCollection.

ServiceCollectionServiceExtensions

Extensions for IServiceCollection.

ServiceDescriptor

Describes a service with its service type, implementation, and lifetime.

ServiceProvider

The default IServiceProvider.

ServiceProviderOptions

Options for configuring various behaviors of the default IServiceProvider implementation.

ServiceProviderServiceExtensions

Extension methods for getting services from an IServiceProvider.

Structs

ServiceScope

An IServiceScope implementation that implements IDisposable.

Interfaces

IServiceCollection

Default implementation of IServiceCollection.

IServiceProviderIsService

Optional service used to determine if the specified type is available from the IServiceProvider.

IServiceScope

Defines scope for IServiceProvider.

Enums

ServiceLifetime

Specifies the lifetime of a service in an IServiceCollection.

Delegates

ImplementationFactoryDelegate

Service Factory method delegate