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)
356
object containerBuilder =
_serviceProviderFactory
.CreateBuilder(services);
363
_appServices =
_serviceProviderFactory
.CreateServiceProvider(containerBuilder);