Table of Contents

BootstrapperLifetime Constructor

Definition

Namespace
Codebelt.Bootstrapper
Assemblies
Codebelt.Bootstrapper.dll
Source
src/Codebelt.Bootstrapper/BootstrapperLifetime.cs

BootstrapperLifetime(IOptions<ConsoleLifetimeOptions>, IHostEnvironment, IHostApplicationLifetime, IOptions<HostOptions>, ILoggerFactory)

Initializes a new instance of the BootstrapperLifetime class.

public BootstrapperLifetime(IOptions<ConsoleLifetimeOptions> options, IHostEnvironment environment, IHostApplicationLifetime applicationLifetime, IOptions<HostOptions> hostOptions, ILoggerFactory loggerFactory)

Parameters

options IOptions<ConsoleLifetimeOptions>

The dependency injected IOptions<TOptions>.

environment IHostEnvironment

The dependency injected IHostEnvironment.

applicationLifetime IHostApplicationLifetime

The dependency injected IHostApplicationLifetime.

hostOptions IOptions<HostOptions>

The dependency injected IOptions<TOptions>.

loggerFactory ILoggerFactory

The dependency injected ILoggerFactory.