Bewerken

Delen via


IdentifierSymbol Class

Definition

A symbol, such as an option or command, having one or more fixed names in a command line interface.

public ref class IdentifierSymbol abstract : System::CommandLine::Symbol
public abstract class IdentifierSymbol : System.CommandLine.Symbol
type IdentifierSymbol = class
    inherit Symbol
Public MustInherit Class IdentifierSymbol
Inherits Symbol
Inheritance
IdentifierSymbol
Derived

Constructors

IdentifierSymbol(String, String)

Initializes a new instance of the IdentifierSymbol class.

IdentifierSymbol(String)

Initializes a new instance of the IdentifierSymbol class.

Properties

Aliases

Gets the set of strings that can be used on the command line to specify the symbol.

Description

Gets or sets the description of the symbol.

(Inherited from Symbol)
IsHidden

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

(Inherited from Symbol)
Name

Gets or sets the symbol name.

Parents

Gets the parent symbols.

(Inherited from Symbol)

Methods

AddAlias(String)

Adds an alias.

Equals(Object)

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

(Inherited from Object)
GetCompletions()

Gets completions for the symbol.

(Inherited from Symbol)
GetCompletions(CompletionContext)

Gets the suggested values for command line completion.

(Inherited from Symbol)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HasAlias(String)

Determines whether the alias has already been defined.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Symbol)

Applies to