BootstrapperExtensions Class
Namespace
Statiq.Web
Base Types
  • object
graph BT Type-->Base0["object"] Type["BootstrapperExtensions"] class Type type-node

Syntax

public static class BootstrapperExtensions

Methods

Name Return Value Summary
AddHostingCommands<TBootstrapper>(TBootstrapper) TBootstrapper
Adds the "preview" and "serve" commands (this is called by default when you call CreateWeb(BootstrapperFactory, string[]).
static
AddWeb<TBootstrapper>(TBootstrapper) TBootstrapper
Adds Statiq Web functionality to an existing bootstrapper. This method does not need to be called if using CreateWeb(BootstrapperFactory, string[]).
static