3 references to AddKeyedSingleton
Microsoft.Extensions.DependencyInjection.Abstractions (3)
ServiceCollectionServiceExtensions.Keyed.cs (3)
397
return services.
AddKeyedSingleton
(typeof(TService), serviceKey, typeof(TImplementation));
417
return services.
AddKeyedSingleton
(serviceType, serviceKey, serviceType);
436
return services.
AddKeyedSingleton
(typeof(TService), serviceKey, typeof(TService));