Implemented interface member:
property
Services
Microsoft.Extensions.Hosting.IHost.Services
1 write to Services
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
49Services = services;
6 references to Services
Microsoft.Extensions.Hosting (6)
Internal\Host.cs (6)
96_hostedServices ??= Services.GetRequiredService<IEnumerable<IHostedService>>(); 100IStartupValidator? validator = Services.GetService<IStartupValidator>(); 466await DisposeAsync(Services).ConfigureAwait(false); 492public IServiceProvider Services => host.Services; 493public IConfiguration Configuration => host.Services.GetRequiredService<IConfiguration>(); 499public List<IHostedService> HostedServices => new List<IHostedService>(host._hostedServices ??= host.Services.GetRequiredService<IEnumerable<IHostedService>>());