11 references to DescribeKeyed
Microsoft.Extensions.DependencyInjection.Abstractions (9)
ServiceDescriptor.cs (9)
460
return
DescribeKeyed
(typeof(TService), serviceKey, implementationFactory, ServiceLifetime.Transient);
493
return
DescribeKeyed
(typeof(TService), serviceKey, implementationFactory, ServiceLifetime.Transient);
526
return
DescribeKeyed
(service, serviceKey, implementationFactory, ServiceLifetime.Transient);
631
return
DescribeKeyed
(typeof(TService), serviceKey, implementationFactory, ServiceLifetime.Scoped);
664
return
DescribeKeyed
(typeof(TService), serviceKey, implementationFactory, ServiceLifetime.Scoped);
697
return
DescribeKeyed
(service, serviceKey, implementationFactory, ServiceLifetime.Scoped);
809
return
DescribeKeyed
(typeof(TService), serviceKey, implementationFactory, ServiceLifetime.Singleton);
844
return
DescribeKeyed
(typeof(TService), serviceKey, implementationFactory, ServiceLifetime.Singleton);
882
return
DescribeKeyed
(serviceType, serviceKey, implementationFactory, ServiceLifetime.Singleton);
Microsoft.Extensions.Http (2)
DependencyInjection\HttpClientKeyedLifetime.cs (2)
31
Client = ServiceDescriptor.
DescribeKeyed
(typeof(HttpClient), ServiceKey, CreateKeyedClient, lifetime);
32
Handler = ServiceDescriptor.
DescribeKeyed
(typeof(HttpMessageHandler), ServiceKey, CreateKeyedHandler, lifetime);