Sprache

Symbol Class

Definition

Defines a named symbol that resides in a hierarchy with parent and child symbols.

public ref class Symbol abstract
public ref class Symbol abstract : System::CommandLine::ISymbol
public abstract class Symbol
public abstract class Symbol : System.CommandLine.ISymbol
type Symbol = class
type Symbol = class
    interface ISymbol
    interface ISuggestionSource
Public MustInherit Class Symbol
Public MustInherit Class Symbol
Implements ISymbol
Inheritance
Symbol
Derived
Implements

Constructors

Name Description
Symbol(IReadOnlyCollection<String>, String)

Properties

Name Description
Aliases
Children
Description

Gets or sets the description of the symbol.

Hidden

Gets or sets a value indicating whether the symbol is hidden.

IsHidden
Name

Gets the name of the symbol.

Parents

Gets the parent symbols.

RawAliases

Methods

Name Description
AddAliasInner(String)
ClearAliases()
GetCompletions(CompletionContext)

Gets completions for the symbol.

HasAlias(String)
HasRawAlias(String)
Suggest(String)
ToString()

Returns a string that represents the current object.

Explicit Interface Implementations

Name Description
ISymbol.Children

Applies to