Editar

Partilhar via


InvocationLifetime Constructors

Definition

Overloads

InvocationLifetime(IOptions<InvocationLifetimeOptions>, IHostEnvironment, IHostApplicationLifetime, InvocationContext, ILoggerFactory)
InvocationLifetime(IOptions<InvocationLifetimeOptions>, IHostingEnvironment, IApplicationLifetime, InvocationContext, ILoggerFactory)

InvocationLifetime(IOptions<InvocationLifetimeOptions>, IHostEnvironment, IHostApplicationLifetime, InvocationContext, ILoggerFactory)

public InvocationLifetime(Microsoft.Extensions.Options.IOptions<System.CommandLine.Hosting.InvocationLifetimeOptions> options, Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, System.CommandLine.Invocation.InvocationContext context = default, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory = default);
new System.CommandLine.Hosting.InvocationLifetime : Microsoft.Extensions.Options.IOptions<System.CommandLine.Hosting.InvocationLifetimeOptions> * Microsoft.Extensions.Hosting.IHostEnvironment * Microsoft.Extensions.Hosting.IHostApplicationLifetime * System.CommandLine.Invocation.InvocationContext * Microsoft.Extensions.Logging.ILoggerFactory -> System.CommandLine.Hosting.InvocationLifetime
Public Sub New (options As IOptions(Of InvocationLifetimeOptions), environment As IHostEnvironment, applicationLifetime As IHostApplicationLifetime, Optional context As InvocationContext = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)

Parameters

environment
IHostEnvironment
applicationLifetime
IHostApplicationLifetime
loggerFactory
ILoggerFactory

Applies to

InvocationLifetime(IOptions<InvocationLifetimeOptions>, IHostingEnvironment, IApplicationLifetime, InvocationContext, ILoggerFactory)

public InvocationLifetime(Microsoft.Extensions.Options.IOptions<System.CommandLine.Hosting.InvocationLifetimeOptions> options, Microsoft.Extensions.Hosting.IHostingEnvironment environment, Microsoft.Extensions.Hosting.IApplicationLifetime applicationLifetime, System.CommandLine.Invocation.InvocationContext context = default, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory = default);
new System.CommandLine.Hosting.InvocationLifetime : Microsoft.Extensions.Options.IOptions<System.CommandLine.Hosting.InvocationLifetimeOptions> * Microsoft.Extensions.Hosting.IHostingEnvironment * Microsoft.Extensions.Hosting.IApplicationLifetime * System.CommandLine.Invocation.InvocationContext * Microsoft.Extensions.Logging.ILoggerFactory -> System.CommandLine.Hosting.InvocationLifetime
Public Sub New (options As IOptions(Of InvocationLifetimeOptions), environment As IHostingEnvironment, applicationLifetime As IApplicationLifetime, Optional context As InvocationContext = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)

Parameters

environment
IHostingEnvironment
applicationLifetime
IApplicationLifetime
loggerFactory
ILoggerFactory

Applies to