Implemented interface member:
method
GetService
System.IServiceProvider.GetService(System.Type)
3 references to GetService
Microsoft.AspNetCore.DataProtection.Tests (1)
ServiceCollectionTests.cs (1)
67
Assert.NotNull(services.
GetService
(descriptor.ServiceType));
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.AsyncDisposable.cs (1)
74
public object GetService(Type serviceType) => _serviceProvider.
GetService
(serviceType);
Microsoft.AspNetCore.Http.Tests (1)
DefaultHttpContextTests.cs (1)
528
return _serviceProvider.
GetService
(serviceType);