Table of Contents

UseBootstrapperStartup Method

Definition

Namespace
Codebelt.Bootstrapper
Assemblies
Codebelt.Bootstrapper.dll
Source
src/Codebelt.Bootstrapper/HostBuilderExtensions.cs

UseBootstrapperStartup<TStartup>(IHostBuilder)

Provides an implementation of a conventional based IStartupFactory<TStartup>.

public static IHostBuilder UseBootstrapperStartup<TStartup>(this IHostBuilder hostBuilder) where TStartup : StartupRoot

Parameters

hostBuilder IHostBuilder

The IHostBuilder to configure.

Returns

IHostBuilder

The same instance of the IHostBuilder for chaining.

Type Parameters

TStartup