3 references to GetImplementationInstance
Microsoft.Extensions.DependencyInjection (3)
DependencyInjectionEventSource.cs (1)
264object? instance = descriptor.GetImplementationInstance();
ServiceLookup\CallSiteFactory.cs (1)
384callSite = new ConstantCallSite(descriptor.ServiceType, descriptor.GetImplementationInstance());
ServiceLookup\ServiceDescriptorExtensions.cs (1)
11public static bool HasImplementationInstance(this ServiceDescriptor serviceDescriptor) => GetImplementationInstance(serviceDescriptor) != null;