Adds the "preview" and "serve" commands (this is called by default when you
call
CreateWeb(BootstrapperFactory, string[])
.
- Namespace
- Statiq
.Web - Containing Type
- Bootstrapper
Extensions
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. |