Implemented interface member:
property
Services
Microsoft.Extensions.Hosting.IHost.Services
1 write to Services
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
49Services = services;
7 references to Services
Microsoft.Extensions.Hosting (7)
Internal\Host.cs (7)
100IStartupValidator? startupValidator = Services.GetService<IStartupValidator>(); 113asyncValidators = Services.GetServices<IAsyncStartupValidator>().ToArray(); 184_hostedServices ??= Services.GetRequiredService<IEnumerable<IHostedService>>(); 555await DisposeAsync(Services).ConfigureAwait(false); 581public IServiceProvider Services => host.Services; 582public IConfiguration Configuration => host.Services.GetRequiredService<IConfiguration>(); 588public List<IHostedService> HostedServices => new List<IHostedService>(host._hostedServices ??= host.Services.GetRequiredService<IEnumerable<IHostedService>>());