3 references to GetService
Microsoft.Extensions.DependencyInjection (3)
ServiceLookup\ServiceProviderEngineScope.cs (1)
50return RootProvider.GetService(ServiceIdentifier.FromServiceType(serviceType), this);
ServiceProvider.cs (2)
103public object? GetService(Type serviceType) => GetService(ServiceIdentifier.FromServiceType(serviceType), Root); 115=> GetService(new ServiceIdentifier(serviceKey, serviceType), serviceProviderEngineScope);