AddWeb<TBootstrapper>(TBootstrapper) Method
Adds Statiq Web functionality to an existing bootstrapper. This method does not need to be called if using CreateWeb(BootstrapperFactory, string[]).
Namespace
Statiq.Web
Containing Type
BootstrapperExtensions

Syntax

public static TBootstrapper AddWeb<TBootstrapper>(this TBootstrapper bootstrapper) 
    where TBootstrapper : IBootstrapper

Remarks

This method is useful when you want to add Statiq Web support to an existing bootstrapper, for example because you created the bootstrapper without certain default functionality by calling CreateDefaultWithout(BootstrapperFactory, string[], DefaultFeatures).

Type Parameters

Name Description
TBootstrapper

Parameters

Name Type Description
bootstrapper TBootstrapper The bootstrapper to add Statiq Web functionality to.

Return Value

Type Description
TBootstrapper The bootstrapper.