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
class ActivatorUtilities
Helper code for the various activator services.
Marks the constructor to be used when activating type using <see cref="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilities" /> .
struct AsyncServiceScope
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.
interface IKeyedServiceProvider
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" /> .
interface IServiceProviderIsKeyedService
Provides methods to determine if the specified type with the specified service key is available
from the <see cref="T:System.IServiceProvider" /> .
interface IServiceProviderIsService
Provides methods to determine if the specified type is available from the <see cref="T:System.IServiceProvider" /> .
interface IServiceScope
Defines a disposable service scope.
interface IServiceScopeFactory
Creates instances of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> , which is used to create
services within a scope.
interface ISupportRequiredService
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" /> .
class ObjectFactory
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" /> .
class ServiceCollection
Default implementation of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> .
Extension methods for adding services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> .
class ServiceDescriptor
Describes a service with its service type, implementation, and lifetime.
class ServiceKeyAttribute
Specifies the parameter to inject the key that was used for registration or resolution.
enum ServiceKeyLookupMode
Specifies how to look up the service key for a parameter.
enum ServiceLifetime
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" /> .