1 instantiation of ThirdPartyContainer
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
157public ThirdPartyContainer CreateBuilder(IServiceCollection services) => new ThirdPartyContainer { Services = services };
6 references to ThirdPartyContainer
Microsoft.AspNetCore.TestHost.Tests (6)
TestServerTests.cs (6)
125.ConfigureServices(s => s.AddSingleton<IServiceProviderFactory<ThirdPartyContainer>, ThirdPartyContainerServiceProviderFactory>()) 128.ConfigureTestContainer<ThirdPartyContainer>(container => container.Services.AddSingleton(new TestService { Message = "OverridesConfigureContainer" })); 142public void ConfigureContainer(ThirdPartyContainer container) => 155public class ThirdPartyContainerServiceProviderFactory : IServiceProviderFactory<ThirdPartyContainer> 157public ThirdPartyContainer CreateBuilder(IServiceCollection services) => new ThirdPartyContainer { Services = services }; 159public IServiceProvider CreateServiceProvider(ThirdPartyContainer containerBuilder) => containerBuilder.Services.BuildServiceProvider();