Редагувати

Поділитися через


HelpBuilder.CustomizeLayout Method

Definition

Customizes the help sections that will be displayed.

public:
 void CustomizeLayout(Func<System::CommandLine::Help::HelpContext ^, System::Collections::Generic::IEnumerable<System::CommandLine::Help::HelpSectionDelegate ^> ^> ^ getLayout);
public void CustomizeLayout (Func<System.CommandLine.Help.HelpContext,System.Collections.Generic.IEnumerable<System.CommandLine.Help.HelpSectionDelegate>> getLayout);
member this.CustomizeLayout : Func<System.CommandLine.Help.HelpContext, seq<System.CommandLine.Help.HelpSectionDelegate>> -> unit
Public Sub CustomizeLayout (getLayout As Func(Of HelpContext, IEnumerable(Of HelpSectionDelegate)))

Parameters

getLayout
Func<HelpContext,IEnumerable<HelpSectionDelegate>>

A delegate that returns the sections in the order in which they should be written.

Applies to