DiagramDirective Class
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.
Enables the use of the [diagram] directive, which when specified on the command line will short
circuit normal command handling and display a diagram explaining the parse result for the command line input.
public ref class DiagramDirective sealed : System::CommandLine::Directive
public sealed class DiagramDirective : System.CommandLine.Directive
type DiagramDirective = class
inherit Directive
Public NotInheritable Class DiagramDirective
Inherits Directive
- Inheritance
Constructors
| DiagramDirective() |
Writes a diagram of the parse result to the output. |
Properties
| Action |
Gets or sets the CommandLineAction for the Directive. The handler represents the action that will be performed when the Directive is invoked. |
| Description |
Gets or sets the description of the symbol. (Inherited from Symbol) |
| Hidden |
Gets or sets a value indicating whether the symbol is hidden. (Inherited from Symbol) |
| Name |
Gets the name of the symbol. (Inherited from Symbol) |
| Parents |
Gets the parent symbols. (Inherited from Symbol) |
| ParseErrorReturnValue |
Gets or sets the return value, which can be used as an exit code, when parsing encounters an error. |
Methods
| GetCompletions(CompletionContext) |
Gets completions for the symbol. (Inherited from Directive) |
| ToString() |
Returns a string that represents the current object. (Inherited from Symbol) |