net10.0-windows7.0
namespace System.CommandLine.Hosting
{
    public class InvocationLifetime : IHostLifetime
    {
        public InvocationLifetime(IOptions<InvocationLifetimeOptions> options, IHostEnvironment environment, IHostApplicationLifetime applicationLifetime, InvocationContext context = null, ILoggerFactory loggerFactory = null);
    }
}
.NET
5.06.07.08.09.010.0
.NET Core
3.03.1
.NET Standard
2.1
Information specific to net10.0
Platforms This API is only available when you target a specific platform:
Windows
7.0
Information specific to net10.0-windows7.0
Assembly

System.CommandLine.Hosting , Version=0.4.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to System.CommandLine.Hosting.

Package System.CommandLine.Hosting (0.4.0-alpha.22272.1) netstandard2.1
Preview This API is contained in a prerelease package.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API