C# Class ConsoleShared.ConsoleExecute

显示文件 Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
CancelMacroCapture ( ) : void
Execute ( ConsoleCommand command, CommandList commands ) : ConsoleExecuteResult
ExecuteAsync ( ConsoleCommand command, CommandList commands ) : Task
IsAsync ( ConsoleCommand command, CommandList commands ) : bool
RunMacro ( string name ) : IEnumerable
SaveMacro ( string name ) : ConsoleExecuteResult
StartMacroCapture ( ) : void

Private Methods

Method Description
BuildCommand ( ConsoleCommand command, ConsoleExecutingAssembly instance, ConsoleExecutingMethod>.IReadOnlyDictionary methodDictionary, object &inputArgs, Type &typeInfo, string &errorMessage ) : bool
ValidateCommand ( ConsoleCommand command, CommandList commands, ConsoleExecutingAssembly &instance, ConsoleExecutingMethod>.Dictionary &methodDictionary ) : bool

Method Details

CancelMacroCapture() public static method

public static CancelMacroCapture ( ) : void
return void

Execute() public static method

public static Execute ( ConsoleCommand command, CommandList commands ) : ConsoleExecuteResult
command ConsoleCommand
commands CommandList
return ConsoleExecuteResult

ExecuteAsync() public static method

public static ExecuteAsync ( ConsoleCommand command, CommandList commands ) : Task
command ConsoleCommand
commands CommandList
return Task

IsAsync() public static method

public static IsAsync ( ConsoleCommand command, CommandList commands ) : bool
command ConsoleCommand
commands CommandList
return bool

RunMacro() public static method

public static RunMacro ( string name ) : IEnumerable
name string
return IEnumerable

SaveMacro() public static method

public static SaveMacro ( string name ) : ConsoleExecuteResult
name string
return ConsoleExecuteResult

StartMacroCapture() public static method

public static StartMacroCapture ( ) : void
return void