<PackageReference Include="Microsoft.Extensions.Hosting" Version="11.0.0-rc.1.26425.128" />

Microsoft.Extensions.Hosting.Internal.Host

sealed class Host : IHost, IDisposable, IAsyncDisposable
namespace Microsoft.Extensions.Hosting.Internal { internal sealed class Host : IHost, IDisposable, IAsyncDisposable { public IServiceProvider Services { get; } public Host(IServiceProvider services, IHostEnvironment hostEnvironment, PhysicalFileProvider defaultProvider, IHostApplicationLifetime applicationLifetime, ILogger<Host> logger, IHostLifetime hostLifetime, IOptions<HostOptions> options); public Task StartAsync(CancellationToken cancellationToken = default(CancellationToken)); public Task StopAsync(CancellationToken cancellationToken = default(CancellationToken)); public void Dispose(); public ValueTask DisposeAsync(); } }