CommandLineApplication Classe

Définition

public ref class CommandLineApplication
public class CommandLineApplication
type CommandLineApplication = class
Public Class CommandLineApplication
Héritage
CommandLineApplication

Constructeurs

CommandLineApplication(Boolean)

Champs

Arguments
Commands
Options
RemainingArguments

Propriétés

AllowArgumentSeparator
Description
Error
ExtendedHelpText
FullName
Invoke
IsShowingInformation
LongVersionGetter
Name
OptionHelp
OptionVersion
Out
Parent
ShortVersionGetter
ShowInHelpText
Syntax

Méthodes

Argument(String, String, Action<CommandArgument>, Boolean)
Argument(String, String, Boolean)
Command(String, Action<CommandLineApplication>, Boolean)
Equals(Object)

Détermine si l'objet spécifié est égal à l'objet actuel.

(Hérité de Object)
Execute(String[])
GetFullNameAndVersion()
GetHashCode()

Fait office de fonction de hachage par défaut.

(Hérité de Object)
GetHelpText(String)
GetOptions()
GetType()

Obtient le Type de l'instance actuelle.

(Hérité de Object)
HelpOption(String)
MemberwiseClone()

Crée une copie superficielle du Object actuel.

(Hérité de Object)
OnExecute(Func<Int32>)
OnExecute(Func<Task<Int32>>)
Option(String, String, CommandOptionType)
Option(String, String, CommandOptionType, Action<CommandOption>)
Option(String, String, CommandOptionType, Action<CommandOption>, Boolean)
Option(String, String, CommandOptionType, Boolean)
ShowHelp(String)
ShowHint()
ShowRootCommandFullNameAndVersion()
ShowVersion()
ToString()

Retourne une chaîne qui représente l'objet actuel.

(Hérité de Object)
VersionOption(String, Func<String>, Func<String>)
VersionOption(String, String, String)

S’applique à