Table of Contents

CliHelpBuilder.GetLayout Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets the default sections to be written for command line help.

public virtual IEnumerable<Func<HelpContext, bool>> GetLayout(HelpContext helpContext)

Parameters

helpContext HelpContext

The help context.

Returns

IEnumerable<Func<HelpContext, bool>>

An enumerable whose elements are the Func<T, TResult> instances which writes a section.