9 implementations of CreateServiceProvider
Microsoft.AspNetCore (1)
ConfigureHostBuilder.cs (1)
157public IServiceProvider CreateServiceProvider(object containerBuilder) => _serviceProviderFactory.CreateServiceProvider((TContainerBuilder)containerBuilder);
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Hosting\WebAssemblyHostBuilderTest.cs (1)
174public IServiceProvider CreateServiceProvider(MyFakeDIBuilderThing containerBuilder)
Microsoft.AspNetCore.Hosting.Tests (4)
Internal\MyBadContainerFactory.cs (1)
17public IServiceProvider CreateServiceProvider(MyContainer containerBuilder)
Internal\MyContainerFactory.cs (1)
17public IServiceProvider CreateServiceProvider(MyContainer containerBuilder)
WebHostBuilderTests.cs (1)
1626public IServiceProvider CreateServiceProvider(IServiceCollection containerBuilder)
WebHostTests.AsyncDisposable.cs (1)
55public IServiceProvider CreateServiceProvider(IServiceCollection containerBuilder)
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
174public IServiceProvider CreateServiceProvider(ThirdPartyContainer containerBuilder) => containerBuilder.Services.BuildServiceProvider();
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
3182public IServiceProvider CreateServiceProvider(MyServiceProvider containerBuilder)
Microsoft.Extensions.DependencyInjection (1)
DefaultServiceProviderFactory.cs (1)
41public IServiceProvider CreateServiceProvider(IServiceCollection containerBuilder)
9 references to CreateServiceProvider
Microsoft.AspNetCore (1)
ConfigureHostBuilder.cs (1)
157public IServiceProvider CreateServiceProvider(object containerBuilder) => _serviceProviderFactory.CreateServiceProvider((TContainerBuilder)containerBuilder);
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
285return factory.CreateServiceProvider(container);
Microsoft.AspNetCore.Hosting (4)
Internal\StartupLoader.cs (2)
154applicationServiceProvider = serviceProviderFactory.CreateServiceProvider(builder); 161applicationServiceProvider = serviceProviderFactory.CreateServiceProvider(builder);
Startup\StartupBase.cs (1)
71return _factory.CreateServiceProvider(builder);
WebHostBuilder.cs (1)
208return factory.CreateServiceProvider(factory.CreateBuilder(collection));
Microsoft.Extensions.Hosting (2)
HostApplicationBuilder.cs (1)
223return factory.CreateServiceProvider(containerBuilder);
Internal\ServiceFactoryAdapter.cs (1)
54return _serviceProviderFactory.CreateServiceProvider((TContainerBuilder)containerBuilder);
Microsoft.Maui (1)
Hosting\MauiAppBuilder.cs (1)
137 return factory.CreateServiceProvider(container);