UseBootstrapperProgram Method
Definition
- Namespace
- Codebelt.Bootstrapper.Console
- Assemblies
- Codebelt.Bootstrapper.Console.dll
UseBootstrapperProgram(IHostApplicationBuilder, Type)
Provides an implementation of a conventional based IProgramFactory.
public static IHostApplicationBuilder UseBootstrapperProgram(this IHostApplicationBuilder hostBuilder, Type minimalConsoleProgramType)
Parameters
hostBuilderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
minimalConsoleProgramTypeTypeThe Type that must be assignable from MinimalConsoleProgram.
Returns
- IHostApplicationBuilder
The same instance of the IHostApplicationBuilder for chaining.