4 references to BuildServiceProvider
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.