ServiceDescriptor
ServiceDescriptor(Type, Object)
ServiceDescriptor(Type, Object, Object)
ServiceDescriptor(Type, Type, ServiceLifetime)
ServiceDescriptor(Type, Object, Type, ServiceLifetime)
ServiceDescriptor(Type, Func<IServiceProvider, Object>, ServiceLifetime)
ServiceDescriptor(Type, Object, Func<IServiceProvider, Object, Object>, ServiceLifetime)
ImplementationFactory
ImplementationInstance
ImplementationType
IsKeyedService
KeyedImplementationFactory
KeyedImplementationInstance
KeyedImplementationType
Lifetime
ServiceKey
ServiceType
Describe(Type, Type, ServiceLifetime)
Describe(Type, Func<IServiceProvider, Object>, ServiceLifetime)
DescribeKeyed(Type, Object, Type, ServiceLifetime)
DescribeKeyed(Type, Object, Func<IServiceProvider, Object, Object>, ServiceLifetime)
KeyedScoped(Type, Object, Type)
KeyedScoped<TService>(Object, Func<IServiceProvider, Object, TService>)
KeyedScoped<TService, TImplementation>(Object)
KeyedScoped<TService, TImplementation>(Object, Func<IServiceProvider, Object, TImplementation>)
KeyedScoped(Type, Object, Func<IServiceProvider, Object, Object>)
KeyedSingleton(Type, Object, Object)
KeyedSingleton(Type, Object, Type)
KeyedSingleton<TService>(Object, TService)
KeyedSingleton<TService>(Object, Func<IServiceProvider, Object, TService>)
KeyedSingleton<TService, TImplementation>(Object)
KeyedSingleton<TService, TImplementation>(Object, Func<IServiceProvider, Object, TImplementation>)
KeyedSingleton(Type, Object, Func<IServiceProvider, Object, Object>)
KeyedTransient(Type, Object, Type)
KeyedTransient<TService>(Object, Func<IServiceProvider, Object, TService>)
KeyedTransient<TService, TImplementation>(Object)
KeyedTransient<TService, TImplementation>(Object, Func<IServiceProvider, Object, TImplementation>)
KeyedTransient(Type, Object, Func<IServiceProvider, Object, Object>)
Scoped(Type, Type)
Scoped<TService>(Func<IServiceProvider, TService>)
Scoped<TService, TImplementation>()
Scoped<TService, TImplementation>(Func<IServiceProvider, TImplementation>)
Scoped(Type, Func<IServiceProvider, Object>)
Singleton(Type, Object)
Singleton(Type, Type)
Singleton<TService>(TService)
Singleton<TService>(Func<IServiceProvider, TService>)
Singleton<TService, TImplementation>()
Singleton<TService, TImplementation>(Func<IServiceProvider, TImplementation>)
Singleton(Type, Func<IServiceProvider, Object>)
ToString()
Transient(Type, Type)
Transient<TService>(Func<IServiceProvider, TService>)
Transient<TService, TImplementation>()
Transient<TService, TImplementation>(Func<IServiceProvider, TImplementation>)
Transient(Type, Func<IServiceProvider, Object>)
net5.0
namespace Microsoft.Extensions.DependencyInjection
{
[DebuggerDisplay("{DebuggerToString(),nq}")]
public class ServiceDescriptor
{
public static ServiceDescriptor! KeyedSingleton<TService, TImplementation>(object? serviceKey)
where TService, class
where TImplementation, class, TService!;
}
}
.NET | 5.06.07.08.09.010.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net5.0 | |
Assemblies | Microsoft.Extensions.DependencyInjection.Abstractions , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.Extensions.DependencyInjection.Abstractions , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Extensions.DependencyInjection.Abstractions (10.0.0-preview.1.25080.5) netstandard2.1 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API