Hermod
A cross-platform, modular and fully GDPR-compliant email archival solution!
|
Specialised variation of ICommand with generic typing. More...
Public Member Functions | |
ICommandResult | Execute (params string[] args) |
Executes the command and returns a genericised variation of the ICommandResult<T>, namely ICommandResult. | |
Task< ICommandResult > | ExecuteAsync (params string[] args) |
Asynchronous variation of Execute(string[]). | |
new ICommand< T > | Execute (params string[] args) |
Overrides the default implementation of ICommand with a generic type approach. | |
new Task< ICommandResult< T > > | ExecuteAsync (params string[] args) |
Asynchronous variation of Execute(string[]). | |
Properties | |
string | Name [get] |
The (callable) name for the command. | |
string | ShortDescription [get] |
A short description of the command and its function. | |
string? | LongDescription [get] |
A detailled description of the command and its function. | |
Option[] | CommandOptions [get] |
A list of options applicable to this command. | |
Specialised variation of ICommand with generic typing.
T |
Definition at line 49 of file ICommand.cs.
ICommandResult Hermod.Core.Commands.ICommand< T >.Execute | ( | params string[] | args | ) |
Executes the command and returns a genericised variation of the ICommandResult<T>, namely ICommandResult.
Implemented in Hermod.Core.Commands.TerminalCommand.
new ICommand< T > Hermod.Core.Commands.ICommand< T >.Execute | ( | params string[] | args | ) |
Overrides the default implementation of ICommand with a generic type approach.
args | The arguments to be passed to the command. |
Implemented in Hermod.Core.Commands.TerminalCommand.
Task< ICommandResult > Hermod.Core.Commands.ICommand< T >.ExecuteAsync | ( | params string[] | args | ) |
Asynchronous variation of Execute(string[]).
args | The arguments to be passed to the command. |
Implemented in Hermod.Core.Commands.TerminalCommand.
new Task< ICommandResult< T > > Hermod.Core.Commands.ICommand< T >.ExecuteAsync | ( | params string[] | args | ) |
Asynchronous variation of Execute(string[]).
args | The arguments to be passed to the command. |
Implemented in Hermod.Core.Commands.TerminalCommand.
|
get |
A list of options applicable to this command.
Implemented in Hermod.Core.Commands.TerminalCommand.
Definition at line 29 of file ICommand.cs.
|
get |
A detailled description of the command and its function.
Implemented in Hermod.Core.Commands.TerminalCommand.
Definition at line 24 of file ICommand.cs.
|
get |
The (callable) name for the command.
Implemented in Hermod.Core.Commands.TerminalCommand.
Definition at line 14 of file ICommand.cs.
Referenced by Hermod.Hermod.TryGetCommand().
|
get |
A short description of the command and its function.
Implemented in Hermod.Core.Commands.TerminalCommand.
Definition at line 19 of file ICommand.cs.