C# Класс FubuCore.CommandLine.CommandFactory

Наследование: ICommandFactory
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

Приватные методы

Метод Описание
buildRun ( Queue queue, string commandName ) : FubuCore.CommandLine.CommandRun
dumpUsagesRun ( Queue queue ) : FubuCore.CommandLine.CommandRun

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

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

public AllCommandTypes ( ) : IEnumerable
Результат IEnumerable

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

public Build ( string commandName ) : IFubuCommand
commandName string
Результат IFubuCommand

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

public BuildAllCommands ( ) : IEnumerable
Результат IEnumerable

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

public BuildRun ( IEnumerable args ) : FubuCore.CommandLine.CommandRun
args IEnumerable
Результат FubuCore.CommandLine.CommandRun

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

public BuildRun ( string commandLine ) : FubuCore.CommandLine.CommandRun
commandLine string
Результат FubuCore.CommandLine.CommandRun

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

public CommandFactory ( ) : System
Результат System

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

public CommandFactory ( ICommandCreator creator ) : System
creator ICommandCreator
Результат System

CommandNameFor() публичный статический Метод

public static CommandNameFor ( Type type ) : string
type System.Type
Результат string

DescriptionFor() публичный статический Метод

public static DescriptionFor ( Type type ) : string
type System.Type
Результат string

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

public HelpRun ( Queue queue ) : FubuCore.CommandLine.CommandRun
queue Queue
Результат FubuCore.CommandLine.CommandRun

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

public HelpRun ( string commandName ) : FubuCore.CommandLine.CommandRun
commandName string
Результат FubuCore.CommandLine.CommandRun

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

public InvalidCommandRun ( string commandName ) : FubuCore.CommandLine.CommandRun
commandName string
Результат FubuCore.CommandLine.CommandRun

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

public RegisterCommands ( Assembly assembly ) : void
assembly System.Reflection.Assembly
Результат void

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

public SetAppName ( string appName ) : void
appName string
Результат void