C# Class ConsoleShared.ConsoleExecute

Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static CancelMacroCapture ( ) : void
Résultat void

Execute() public static méthode

public static Execute ( ConsoleCommand command, CommandList commands ) : ConsoleExecuteResult
command ConsoleCommand
commands CommandList
Résultat ConsoleExecuteResult

ExecuteAsync() public static méthode

public static ExecuteAsync ( ConsoleCommand command, CommandList commands ) : Task
command ConsoleCommand
commands CommandList
Résultat Task

IsAsync() public static méthode

public static IsAsync ( ConsoleCommand command, CommandList commands ) : bool
command ConsoleCommand
commands CommandList
Résultat bool

RunMacro() public static méthode

public static RunMacro ( string name ) : IEnumerable
name string
Résultat IEnumerable

SaveMacro() public static méthode

public static SaveMacro ( string name ) : ConsoleExecuteResult
name string
Résultat ConsoleExecuteResult

StartMacroCapture() public static méthode

public static StartMacroCapture ( ) : void
Résultat void