net10.0
namespace Microsoft.Extensions.DependencyInjection
{
    public static class AutoActivationExtensions
    {
        public static IServiceCollection! AddActivatedKeyedSingleton<TService, TImplementation>(this IServiceCollection! services, object? serviceKey)
            where TService, class
            where TImplementation, class, TService!;
    }
}
.NET
8.09.010.0
.NET Framework
4.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assemblies

Microsoft.Extensions.DependencyInjection.AutoActivation , Version=10.3.0.0, PublicKeyToken=31bf3856ad364e35

Microsoft.Extensions.DependencyInjection.AutoActivation , Version=10.1.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.Extensions.DependencyInjection.AutoActivation.

Package Microsoft.Extensions.DependencyInjection.AutoActivation (10.3.0-preview.1.26058.2) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API