HelpBuilderExtensions.CustomizeSymbol Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies custom help details for a specific symbol.
public static void CustomizeSymbol (this System.CommandLine.Help.HelpBuilder builder, System.CommandLine.Symbol symbol, string? firstColumnText = default, string? secondColumnText = default, string? defaultValue = default);
static member CustomizeSymbol : System.CommandLine.Help.HelpBuilder * System.CommandLine.Symbol * string * string * string -> unit
<Extension()>
Public Sub CustomizeSymbol (builder As HelpBuilder, symbol As Symbol, Optional firstColumnText As String = Nothing, Optional secondColumnText As String = Nothing, Optional defaultValue As String = Nothing)
Parameters
- builder
- HelpBuilder
The help builder to write with.
- symbol
- Symbol
The symbol to customize the help details for.
- firstColumnText
- String
A delegate to display the first help column (typically name and usage information).
- secondColumnText
- String
A delegate to display second help column (typically the description).
- defaultValue
- String
The displayed default value for the symbol.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.