AddHostingCommands<TBootstrapper>(TBootstrapper) Method
Adds the "preview" and "serve" commands (this is called by default when you call CreateWeb(BootstrapperFactory, string[]).
Namespace
Statiq.Web
Containing Type
BootstrapperExtensions

Syntax

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

Type Parameters

Name Description
TBootstrapper

Parameters

Name Type Description
bootstrapper TBootstrapper The current bootstrapper.

Return Value

Type Description
TBootstrapper The bootstrapper.