2 writes to _serviceProviderFactory
Microsoft.Extensions.Hosting (2)
HostApplicationBuilder.cs (2)
372
_serviceProviderFactory
= new ServiceFactoryAdapter<TContainerBuilder>(factory);
381
_serviceProviderFactory
= new ServiceFactoryAdapter<TContainerBuilder>(() => _hostApplicationBuilder._hostBuilderContext, factory);
3 references to _serviceProviderFactory
Microsoft.Extensions.Hosting (3)
HostApplicationBuilder.cs (3)
329
if (
_serviceProviderFactory
is not null)
333
object containerBuilder =
_serviceProviderFactory
.CreateBuilder(_hostApplicationBuilder.Services);
335
return
_serviceProviderFactory
.CreateServiceProvider(containerBuilder);