netstandard2.1
namespace Microsoft.Extensions.DependencyInjection
{
    public static class ServiceCollectionServiceExtensions
    {
        public static IServiceCollection! AddKeyedSingleton<TService, TImplementation>(this IServiceCollection! services, object? serviceKey)
            where TService, class
            where TImplementation, class, TService!;
    }
}
Assembly Microsoft.Extensions.DependencyInjection.Abstractions , Version=8.0.0.0, PublicKeyToken=adb9793829ddae60
Package Microsoft.Extensions.DependencyInjection.Abstractions netstandard2.1
Implementation Source
Help Documentation
Design Reviews
.NET 5.06.07.08.09.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
Platform Restrictions

The selected framework does not have platform annotations.

  • Built-in API
  • Package-provided API

05/01/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙