2 references to Singleton
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Extensions\ServiceCollectionDescriptorExtensions.cs (1)
366var descriptor = ServiceDescriptor.Singleton(service, implementationFactory);
Microsoft.Extensions.DependencyInjection.AutoActivation (1)
AutoActivationExtensions.cs (1)
268services.TryAddAndActivate(ServiceDescriptor.Singleton(serviceType, implementationFactory));