UseBootstrapperStartup Method
Definition
- Namespace
- Codebelt.Bootstrapper
- Assemblies
- Codebelt.Bootstrapper.dll
UseBootstrapperStartup<TStartup>(IHostBuilder)
Provides an implementation of a conventional based IStartupFactory<TStartup>.
public static IHostBuilder UseBootstrapperStartup<TStartup>(this IHostBuilder hostBuilder) where TStartup : StartupRoot
Parameters
hostBuilderIHostBuilderThe IHostBuilder to configure.
Returns
- IHostBuilder
The same instance of the IHostBuilder for chaining.
Type Parameters
TStartup