Class ConsoleProgram<TStartup>
- Namespace
- Codebelt.Bootstrapper.Console
- Assembly
- Codebelt.Bootstrapper.Console.dll
The base entry point of an application responsible for registering its ConsoleStartup partner.
public abstract class ConsoleProgram<TStartup> : ProgramRoot<TStartup> where TStartup : ConsoleStartup
Type Parameters
TStartup
The type containing the startup methods for the application.
- Inheritance
-
ProgramRoot<TStartup>ConsoleProgram<TStartup>
Methods
CreateHostBuilder(String[])
Creates an IHostBuilder used to set up the host.
protected static IHostBuilder CreateHostBuilder(string[] args)
Parameters
args
String[]The command line arguments.
Returns
- IHostBuilder
The initialized IHostBuilder.
See Also
ProgramRoot<TStartup>