1 write to Services
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
157
public 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" }));
143
container.
Services
.AddSingleton(new TestService { Message = "ConfigureContainer" });
159
public IServiceProvider CreateServiceProvider(ThirdPartyContainer containerBuilder) => containerBuilder.
Services
.BuildServiceProvider();