3 writes to Services
Microsoft.AspNetCore.TestHost (3)
TestServer.cs (3)
48Services = services ?? throw new ArgumentNullException(nameof(services)); 73Services = services ?? throw new ArgumentNullException(nameof(services)); 101Services = host.Services;
4 references to Services
Microsoft.AspNetCore.Server.IISIntegration.Tests (1)
IISExtensionTests.cs (1)
39var filters = server.Services.GetServices<IStartupFilter>()
Microsoft.AspNetCore.TestHost.Tests (3)
TestServerTests.cs (3)
319Assert.Equal(serviceProvider, testServer.Services); 335Assert.Equal(testService, testServer.Services.GetService<TestService>()); 358Assert.Equal(testService, testServer.Services.GetService<TestService>());