InvocationLifetime
InvocationLifetime(IOptions<InvocationLifetimeOptions>, IHostEnvironment, IHostApplicationLifetime, ILoggerFactory)
InvocationLifetime(IOptions<InvocationLifetimeOptions>, IHostingEnvironment, IApplicationLifetime, ILoggerFactory)
ApplicationLifetime
Environment
Options
Dispose()
StopAsync(CancellationToken)
WaitForStartAsync(CancellationToken)
netcoreapp3.0
namespace System.CommandLine.Hosting
{
public class InvocationLifetime : IHostLifetime
{
public InvocationLifetime(IOptions<InvocationLifetimeOptions> options, IHostEnvironment environment, IHostApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory = null);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 3.03.1 |
| .NET Standard | 2.1 |
Information specific to netcoreapp3.0 | |
| 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.25306.1) netstandard2.1 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API