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)
97_hostedServices ??= Services.GetRequiredService<IEnumerable<IHostedService>>(); 109IStartupValidator? validator = Services.GetService<IStartupValidator>(); 112IAsyncStartupValidator? asyncValidator = Services.GetService<IAsyncStartupValidator>(); 486await DisposeAsync(Services).ConfigureAwait(false); 512public IServiceProvider Services => host.Services; 513public IConfiguration Configuration => host.Services.GetRequiredService<IConfiguration>(); 519public List<IHostedService> HostedServices => new List<IHostedService>(host._hostedServices ??= host.Services.GetRequiredService<IEnumerable<IHostedService>>());