Class CommandManager
Inheritance
CommandManager
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class CommandManager
Constructors
CommandManager(ICommandConsole, ILogger)
Declaration
public CommandManager(ICommandConsole console, ILogger logger = null)
Parameters
Properties
HasCommands
Declaration
public bool HasCommands { get; }
Property Value
Methods
ExecuteAsync(ICommand, PayrollHttpClient)
Declaration
public Task<int> ExecuteAsync(ICommand command, PayrollHttpClient httpClient = null)
Parameters
Returns
ExecuteAsync(PayrollHttpClient)
Declaration
public Task<int> ExecuteAsync(PayrollHttpClient httpClient = null)
Parameters
Returns
GetCommand(string)
Declaration
public ICommand GetCommand(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
GetCommandLineCommand()
Declaration
public ICommand GetCommandLineCommand()
Returns
GetCommands()
Declaration
public List<ICommand> GetCommands()
Returns
RegisterAssembly(Assembly)
Declaration
public void RegisterAssembly(Assembly assembly)
Parameters
Extension Methods