AddCommands<TBootstrapper>(TBootstrapper, Assembly) Method
Adds all commands that implement ICommand from the specified assembly.
Namespace
Statiq.App
Containing Type
BootstrapperCommandExtensions

Syntax

public static TBootstrapper AddCommands<TBootstrapper>(this TBootstrapper bootstrapper, Assembly assembly) 
    where TBootstrapper : IBootstrapper

Type Parameters

Name Description
TBootstrapper

Parameters

Name Type Description
bootstrapper TBootstrapper The bootstrapper.
assembly Assembly The assembly to add commands from.

Return Value

Type Description
TBootstrapper The current bootstrapper.