Symbol Class

Definition

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

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

Properties

Description

Gets or sets the description of the symbol.

IsHidden

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

Name

Gets or sets the name of the symbol.

Parents

Gets the parent symbols.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCompletions()

Gets completions for the symbol.

GetCompletions(CompletionContext)

Gets the suggested values for command line completion.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

Applies to