Class WorkerProgram<TStartup>
- Namespace
- Codebelt.Bootstrapper.Worker
- Assembly
- Codebelt.Bootstrapper.Worker.dll
The entry point of an application responsible for registering its WorkerStartup partner.
public class WorkerProgram<TStartup> : ProgramRoot<TStartup> where TStartup : WorkerStartup
Type Parameters
TStartup
The type containing the startup methods for the application.
- Inheritance
-
ProgramRoot<TStartup>WorkerProgram<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>