Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Microsoft.Extensions.DependencyInjection.Abstractions

System Library

Author Microsoft
Version 10.0.1
Tags

Public Types

Microsoft.​Extensions.​DependencyInjection

Helper code for the various activator services.
Marks the constructor to be used when activating type using <see cref="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilities" /> .
An <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> implementation that implements <see cref="T:System.IAsyncDisposable" /> .
Indicates that the parameter should be bound using the keyed service registered with the specified key.
Retrieves services using a key and a type.
interface IServiceCollection
Specifies the contract for a collection of service descriptors.
interface IServiceProviderFactory<​TContainerBuilder>
Provides an extension point for creating a container specific builder and an <see cref="T:System.IServiceProvider" /> .
Provides methods to determine if the specified type with the specified service key is available from the <see cref="T:System.IServiceProvider" /> .
Provides methods to determine if the specified type is available from the <see cref="T:System.IServiceProvider" /> .
interface IServiceScope
Defines a disposable service scope.
Creates instances of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> , which is used to create services within a scope.
Optional contract used by <see cref="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)" /> to resolve services if supported by <see cref="T:System.IServiceProvider" /> .
class KeyedService
Provides static APIs for use with <see cref="T:Microsoft.Extensions.DependencyInjection.IKeyedServiceProvider" /> .
The result of <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[])" /> .
class ObjectFactory<​T>
Returns the result of <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory``1(System.Type[])" /> , which is a delegate that specifies a factory method to call to instantiate an instance of type <typeparamref name="T" /> .
Default implementation of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> .
Extension methods for adding services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> .
Describes a service with its service type, implementation, and lifetime.
Specifies the parameter to inject the key that was used for registration or resolution.
Specifies how to look up the service key for a parameter.
Specifies the lifetime of a service in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> .
Extension methods for getting services from an <see cref="T:System.IServiceProvider" /> .
Extension methods for getting services from an <see cref="T:System.IServiceProvider" /> .

Microsoft.​Extensions.​DependencyInjection.​Extensions

Extension methods for adding and removing services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> .