AddDelegateCommand<TBootstrapper>(TBootstrapper, string, string, Func<CommandContext, int>) Method
Namespace
Statiq.App
Containing Type
BootstrapperCommandExtensions

Syntax

public static TBootstrapper AddDelegateCommand<TBootstrapper>(this TBootstrapper bootstrapper, string name, string description, Func<CommandContext, int> func) 
    where TBootstrapper : IBootstrapper

Type Parameters

Name Description
TBootstrapper

Parameters

Name Type Description
bootstrapper TBootstrapper
name string
description string
func Func<CommandContext, int>

Return Value

Type Description
TBootstrapper