C# Class FubuCore.CommandLine.CommandFactory

Inheritance: ICommandFactory
Afficher le fichier Open project: DarthFubuMVC/fubucore Class Usage Examples

Méthodes publiques

Méthode Description
AllCommandTypes ( ) : IEnumerable
Build ( string commandName ) : IFubuCommand
BuildAllCommands ( ) : IEnumerable
BuildRun ( IEnumerable args ) : FubuCore.CommandLine.CommandRun
BuildRun ( string commandLine ) : FubuCore.CommandLine.CommandRun
CommandFactory ( ) : System
CommandFactory ( ICommandCreator creator ) : System
CommandNameFor ( Type type ) : string
DescriptionFor ( Type type ) : string
HelpRun ( Queue queue ) : FubuCore.CommandLine.CommandRun
HelpRun ( string commandName ) : FubuCore.CommandLine.CommandRun
InvalidCommandRun ( string commandName ) : FubuCore.CommandLine.CommandRun
RegisterCommands ( Assembly assembly ) : void
SetAppName ( string appName ) : void

Private Methods

Méthode Description
buildRun ( Queue queue, string commandName ) : FubuCore.CommandLine.CommandRun
dumpUsagesRun ( Queue queue ) : FubuCore.CommandLine.CommandRun

Method Details

AllCommandTypes() public méthode

public AllCommandTypes ( ) : IEnumerable
Résultat IEnumerable

Build() public méthode

public Build ( string commandName ) : IFubuCommand
commandName string
Résultat IFubuCommand

BuildAllCommands() public méthode

public BuildAllCommands ( ) : IEnumerable
Résultat IEnumerable

BuildRun() public méthode

public BuildRun ( IEnumerable args ) : FubuCore.CommandLine.CommandRun
args IEnumerable
Résultat FubuCore.CommandLine.CommandRun

BuildRun() public méthode

public BuildRun ( string commandLine ) : FubuCore.CommandLine.CommandRun
commandLine string
Résultat FubuCore.CommandLine.CommandRun

CommandFactory() public méthode

public CommandFactory ( ) : System
Résultat System

CommandFactory() public méthode

public CommandFactory ( ICommandCreator creator ) : System
creator ICommandCreator
Résultat System

CommandNameFor() public static méthode

public static CommandNameFor ( Type type ) : string
type System.Type
Résultat string

DescriptionFor() public static méthode

public static DescriptionFor ( Type type ) : string
type System.Type
Résultat string

HelpRun() public méthode

public HelpRun ( Queue queue ) : FubuCore.CommandLine.CommandRun
queue Queue
Résultat FubuCore.CommandLine.CommandRun

HelpRun() public méthode

public HelpRun ( string commandName ) : FubuCore.CommandLine.CommandRun
commandName string
Résultat FubuCore.CommandLine.CommandRun

InvalidCommandRun() public méthode

public InvalidCommandRun ( string commandName ) : FubuCore.CommandLine.CommandRun
commandName string
Résultat FubuCore.CommandLine.CommandRun

RegisterCommands() public méthode

public RegisterCommands ( Assembly assembly ) : void
assembly System.Reflection.Assembly
Résultat void

SetAppName() public méthode

public SetAppName ( string appName ) : void
appName string
Résultat void