C# Class Sep.Git.Tfs.Commands.Help

Inheritance: GitTfsCommand
Afficher le fichier Open project: pmiossec/git-tfs Class Usage Examples

Méthodes publiques

Méthode Description
Help ( GitTfsCommandFactory commandFactory, StructureMap.IContainer container ) : System.Collections.Generic
Run ( ) : int

Shows help for git-tfs as a whole (i.e. a list of commands).

Run ( GitTfsCommand command ) : int

Shows help for a specific command.

Run ( IList args ) : int

Figures out whether it should show help for git-tfs or for a particular command, and then does that.

Private Methods

Méthode Description
GetCommandInstances ( ) : IEnumerable
GetCommandMap ( ) : IEnumerable>.Dictionary
GetCommandName ( GitTfsCommand command ) : string
GetCommandUsage ( GitTfsCommand command ) : string

Method Details

Help() public méthode

public Help ( GitTfsCommandFactory commandFactory, StructureMap.IContainer container ) : System.Collections.Generic
commandFactory Sep.Git.Tfs.Util.GitTfsCommandFactory
container StructureMap.IContainer
Résultat System.Collections.Generic

Run() public méthode

Shows help for git-tfs as a whole (i.e. a list of commands).
public Run ( ) : int
Résultat int

Run() public méthode

Shows help for a specific command.
public Run ( GitTfsCommand command ) : int
command GitTfsCommand
Résultat int

Run() public méthode

Figures out whether it should show help for git-tfs or for a particular command, and then does that.
public Run ( IList args ) : int
args IList
Résultat int