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