InvocationLifetime
InvocationLifetime(IOptions<InvocationLifetimeOptions>, IHostEnvironment, IHostApplicationLifetime, InvocationContext, ILoggerFactory)
InvocationLifetime(IOptions<InvocationLifetimeOptions>, IHostingEnvironment, IApplicationLifetime, InvocationContext, ILoggerFactory)
ApplicationLifetime
Environment
Options
Dispose()
StopAsync(CancellationToken)
WaitForStartAsync(CancellationToken)
net462
namespace System.CommandLine.Hosting
{
public class InvocationLifetime : IHostLifetime
{
public Task WaitForStartAsync(CancellationToken cancellationToken);
}
}
.NET | 5.06.07.08.09.010.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net462 | |
Assembly | System.CommandLine.Hosting , Version=0.4.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | System.CommandLine.Hosting (0.4.0-alpha.22272.1) netstandard2.0 |
Preview | This API is contained in a prerelease package. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API