ConsoleLifetime
ConsoleLifetime(IOptions<ConsoleLifetimeOptions>, IHostingEnvironment, IApplicationLifetime)
ConsoleLifetime(IOptions<ConsoleLifetimeOptions>, IHostEnvironment, IHostApplicationLifetime, IOptions<HostOptions>)
ConsoleLifetime(IOptions<ConsoleLifetimeOptions>, IHostEnvironment, IHostApplicationLifetime, IOptions<HostOptions>, ILoggerFactory)
Dispose()
StopAsync(CancellationToken)
WaitForStartAsync(CancellationToken)
netcoreapp2.2
namespace Microsoft.Extensions.Hosting.Internal
{
public class ConsoleLifetime : IHostLifetime, IDisposable
{
public ConsoleLifetime(IOptions<ConsoleLifetimeOptions> options, IHostingEnvironment environment, IApplicationLifetime applicationLifetime);
}
}
| .NET Core | 2.12.2 |
|---|---|
Information specific to netcoreapp2.2 | |
| Assembly | Microsoft.Extensions.Hosting , Version=2.2.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API