net9.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class AutoActivationExtensions
{
public static IServiceCollection! AddActivatedKeyedSingleton<TService, TImplementation>(this IServiceCollection! services, object? serviceKey, Func<IServiceProvider!, object?, TImplementation!>! implementationFactory)
where TService, class
where TImplementation, class, TService!;
}
}
.NET | 6.07.08.09.0 |
---|---|
.NET Framework | 4.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Assemblies | Microsoft.Extensions.DependencyInjection.AutoActivation , Version=8.10.0.0, PublicKeyToken=31bf3856ad364e35 Microsoft.Extensions.DependencyInjection.AutoActivation , Version=9.1.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Extensions.DependencyInjection.AutoActivation (8.10.0) net8.0 |
Platform Restrictions | This API is supported on all platforms. |