Table of Contents

ConsoleStartup Class

Definition

Namespace
Codebelt.Bootstrapper.Console
Assemblies
Codebelt.Bootstrapper.Console.dll
Source
src/Codebelt.Bootstrapper.Console/ConsoleStartup.cs

Provides the base class of a conventional based Startup class for a console application.

public abstract class ConsoleStartup : StartupRoot
Inheritance
ConsoleStartup
Inherited Members

Constructors

Name Description
ConsoleStartup(IConfiguration, IHostEnvironment)

Initializes a new instance of the ConsoleStartup class.

Methods

Name Description
ConfigureConsole(IServiceProvider)

Provides access to previously registered services.

RunAsync(IServiceProvider, CancellationToken)

A convenient method for executing fire-and-forget code.

See Also