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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.