HelpBuilder.CustomizeLayout Method
Definition
- Namespace
- DotMake.CommandLine.Help
- Assembly
- DotMake.CommandLine.dll
Customizes the help sections that will be displayed.
public void CustomizeLayout(Func<HelpContext, IEnumerable<Func<HelpContext, bool>>> getLayout)
Parameters
getLayoutFunc<HelpContext, IEnumerable<Func<HelpContext, bool>>>A delegate that returns the sections in the order in which they should be written.
The section delegate should return false if the section is empty, true otherwise.