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
);
122
await ForeachService(
_hostedServices
, cancellationToken, concurrent, abortOnFirstException, exceptions,
241
Debug.Assert(
_hostedServices
!= null, "Hosted services are resolved when host is started.");
244
IEnumerable<IHostedService> reversedServices =
_hostedServices
.Reverse();