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.
파일 보기 프로젝트 열기: nestalk/GitSharp 1 사용 예제들

공개 메소드들

메소드 설명
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