6 references to BuildServiceProvider
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
104return Services.BuildServiceProvider(options);
Microsoft.Extensions.DependencyInjection (4)
DefaultServiceProviderFactory.cs (1)
43return containerBuilder.BuildServiceProvider(_options);
ServiceCollectionContainerBuilderExtensions.cs (2)
20return BuildServiceProvider(services, ServiceProviderOptions.Default); 34return services.BuildServiceProvider(new ServiceProviderOptions { ValidateScopes = validateScopes });
ServiceProviderOptions.cs (1)
22/// Gets or sets a value that indicates whether validation is performed to ensure all services can be created when <see cref="ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(IServiceCollection, ServiceProviderOptions)" /> is called.
Microsoft.Extensions.Hosting (1)
HostApplicationBuilder.cs (1)
116return serviceProviderOptions is null ? Services.BuildServiceProvider() : Services.BuildServiceProvider(serviceProviderOptions);