1 write to _hostedServices
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
88_hostedServices ??= Services.GetRequiredService<IEnumerable<IHostedService>>();
4 references to _hostedServices
Microsoft.Extensions.Hosting (4)
Internal\Host.cs (4)
89_hostedLifecycleServices = GetHostLifecycles(_hostedServices); 122await ForeachService(_hostedServices, cancellationToken, concurrent, abortOnFirstException, exceptions, 241Debug.Assert(_hostedServices != null, "Hosted services are resolved when host is started."); 244IEnumerable<IHostedService> reversedServices = _hostedServices.Reverse();