Table of Contents

MinimalConsoleProgram Class

Definition

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

The base entry point of an application optimized for console applications.

public abstract class MinimalConsoleProgram : ProgramRoot
Inheritance
MinimalConsoleProgram
Derived

Methods

Name Description
CreateHostBuilder(string[])

Creates an HostApplicationBuilder used to set up the host.

RunAsync(IServiceProvider, CancellationToken)

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