C# Класс GitSharp.CLI.CommandRef

Description of a command subcommand. These descriptions are lightweight compared to creating a command instance and are therefore suitable for catalogs of "known" commands without linking the command's implementation and creating a dummy instance of the command.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CommandRef ( TextBuiltin clazz ) : System
CommandRef ( TextBuiltin clazz, String cn ) : System
Create ( ) : TextBuiltin

Returns a new instance of the command implementation.

getImplementationClassName ( ) : String

Returns the name of the class which implements this command.

getName ( ) : String

Returns the friendly command name. The command as invoked from the command line.

getUsage ( ) : String

Returns a one line description of the command's feature set.

isCommon ( ) : bool

Returns true if this command is considered to be commonly used.

isComplete ( ) : bool

Returns true if this command is considered to be completed.

Описание методов

CommandRef() публичный Метод

public CommandRef ( TextBuiltin clazz ) : System
clazz TextBuiltin
Результат System

CommandRef() публичный Метод

public CommandRef ( TextBuiltin clazz, String cn ) : System
clazz TextBuiltin
cn String
Результат System

Create() публичный Метод

Returns a new instance of the command implementation.
public Create ( ) : TextBuiltin
Результат TextBuiltin

getImplementationClassName() публичный Метод

Returns the name of the class which implements this command.
public getImplementationClassName ( ) : String
Результат String

getName() публичный Метод

Returns the friendly command name. The command as invoked from the command line.
public getName ( ) : String
Результат String

getUsage() публичный Метод

Returns a one line description of the command's feature set.
public getUsage ( ) : String
Результат String

isCommon() публичный Метод

Returns true if this command is considered to be commonly used.
public isCommon ( ) : bool
Результат bool

isComplete() публичный Метод

Returns true if this command is considered to be completed.
public isComplete ( ) : bool
Результат bool