C# Class FubuCore.CommandLine.CommandFactory

Inheritance: ICommandFactory
Mostra file Open project: DarthFubuMVC/fubucore Class Usage Examples

Public Methods

Method 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

Method Description
buildRun ( Queue queue, string commandName ) : FubuCore.CommandLine.CommandRun
dumpUsagesRun ( Queue queue ) : FubuCore.CommandLine.CommandRun

Method Details

AllCommandTypes() public method

public AllCommandTypes ( ) : IEnumerable
return IEnumerable

Build() public method

public Build ( string commandName ) : IFubuCommand
commandName string
return IFubuCommand

BuildAllCommands() public method

public BuildAllCommands ( ) : IEnumerable
return IEnumerable

BuildRun() public method

public BuildRun ( IEnumerable args ) : FubuCore.CommandLine.CommandRun
args IEnumerable
return FubuCore.CommandLine.CommandRun

BuildRun() public method

public BuildRun ( string commandLine ) : FubuCore.CommandLine.CommandRun
commandLine string
return FubuCore.CommandLine.CommandRun

CommandFactory() public method

public CommandFactory ( ) : System
return System

CommandFactory() public method

public CommandFactory ( ICommandCreator creator ) : System
creator ICommandCreator
return System

CommandNameFor() public static method

public static CommandNameFor ( Type type ) : string
type System.Type
return string

DescriptionFor() public static method

public static DescriptionFor ( Type type ) : string
type System.Type
return string

HelpRun() public method

public HelpRun ( Queue queue ) : FubuCore.CommandLine.CommandRun
queue Queue
return FubuCore.CommandLine.CommandRun

HelpRun() public method

public HelpRun ( string commandName ) : FubuCore.CommandLine.CommandRun
commandName string
return FubuCore.CommandLine.CommandRun

InvalidCommandRun() public method

public InvalidCommandRun ( string commandName ) : FubuCore.CommandLine.CommandRun
commandName string
return FubuCore.CommandLine.CommandRun

RegisterCommands() public method

public RegisterCommands ( Assembly assembly ) : void
assembly System.Reflection.Assembly
return void

SetAppName() public method

public SetAppName ( string appName ) : void
appName string
return void