4 writes to _serviceProviderFactory
Microsoft.Extensions.Hosting (4)
HostBuilder.cs (4)
47_serviceProviderFactory = new ServiceFactoryAdapter<IServiceCollection>(new DefaultServiceProviderFactory()); 111_serviceProviderFactory = new ServiceFactoryAdapter<TContainerBuilder>(factory); 126_serviceProviderFactory = new ServiceFactoryAdapter<TContainerBuilder>(() => _hostBuilderContext!, factory); 353_serviceProviderFactory = new ServiceFactoryAdapter<IServiceCollection>(new DefaultServiceProviderFactory(new ServiceProviderOptions { ValidateOnBuild = true, ValidateScopes = true }));
2 references to _serviceProviderFactory
Microsoft.Extensions.Hosting (2)
HostBuilder.cs (2)
356object containerBuilder = _serviceProviderFactory.CreateBuilder(services); 363_appServices = _serviceProviderFactory.CreateServiceProvider(containerBuilder);