Implemented interface member:
property
Services
Microsoft.Extensions.Hosting.IHost.Services
1 write to Services
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
47Services = services;
6 references to Services
Microsoft.Extensions.Hosting (6)
Internal\Host.cs (6)
94_hostedServices ??= Services.GetRequiredService<IEnumerable<IHostedService>>(); 98IStartupValidator? validator = Services.GetService<IStartupValidator>(); 426await DisposeAsync(Services).ConfigureAwait(false); 452public IServiceProvider Services => host.Services; 453public IConfiguration Configuration => host.Services.GetRequiredService<IConfiguration>(); 459public List<IHostedService> HostedServices => new List<IHostedService>(host._hostedServices ??= host.Services.GetRequiredService<IEnumerable<IHostedService>>());