HelpBuilder.CustomizeLayout 方法

定义

自定义将显示的帮助部分。

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)))

参数

getLayout
Func<HelpContext,IEnumerable<HelpSectionDelegate>>

一个委托,它按编写节的顺序返回这些节。

适用于