12 references to KeyedImplementationFactory
Microsoft.Extensions.DependencyInjection (5)
DependencyInjectionEventSource.cs (2)
257
else if (descriptor.IsKeyedService && descriptor.
KeyedImplementationFactory
!= null)
260
builder.Append(descriptor.
KeyedImplementationFactory
.Method);
ServiceLookup\CallSiteFactory.cs (2)
390
else if (descriptor.IsKeyedService && descriptor.
KeyedImplementationFactory
!= null)
392
callSite = new FactoryCallSite(lifetime, descriptor.ServiceType, serviceIdentifier.ServiceKey!, descriptor.
KeyedImplementationFactory
);
ServiceLookup\ServiceDescriptorExtensions.cs (1)
27
? serviceDescriptor.
KeyedImplementationFactory
Microsoft.Extensions.DependencyInjection.Abstractions (7)
ServiceDescriptor.cs (7)
269
if (
KeyedImplementationFactory
!= null)
271
return lifetime + $"{nameof(
KeyedImplementationFactory
)}: {
KeyedImplementationFactory
.Method}";
323
else if (
KeyedImplementationFactory
!= null)
325
Type[]? typeArguments =
KeyedImplementationFactory
.GetType().GenericTypeArguments;
1033
else if (
KeyedImplementationFactory
!= null)
1035
debugText += $@", KeyedImplementationFactory = {
KeyedImplementationFactory
.Method}";