1 write to Services
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
157public ThirdPartyContainer CreateBuilder(IServiceCollection services) => new ThirdPartyContainer { Services = services };
3 references to Services
Microsoft.AspNetCore.TestHost.Tests (3)
TestServerTests.cs (3)
128.ConfigureTestContainer<ThirdPartyContainer>(container => container.Services.AddSingleton(new TestService { Message = "OverridesConfigureContainer" })); 143container.Services.AddSingleton(new TestService { Message = "ConfigureContainer" }); 159public IServiceProvider CreateServiceProvider(ThirdPartyContainer containerBuilder) => containerBuilder.Services.BuildServiceProvider();