1 write to _host
Microsoft.AspNetCore (1)
WebApplication.cs (1)
34_host = host;
9 references to _host
Microsoft.AspNetCore (9)
WebApplication.cs (9)
44public IServiceProvider Services => _host.Services; 49public IConfiguration Configuration => _host.Services.GetRequiredService<IConfiguration>(); 54public IWebHostEnvironment Environment => _host.Services.GetRequiredService<IWebHostEnvironment>(); 59public IHostApplicationLifetime Lifetime => _host.Services.GetRequiredService<IHostApplicationLifetime>(); 77internal IFeatureCollection ServerFeatures => _host.Services.GetRequiredService<IServer>().Features; 161_host.StartAsync(cancellationToken); 172_host.StopAsync(cancellationToken); 200void IDisposable.Dispose() => _host.Dispose(); 205public ValueTask DisposeAsync() => ((IAsyncDisposable)_host).DisposeAsync();