Interface ICommandRepository
Namespace: DotNetNuke.Abstractions.Prompt
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface ICommandRepository
Methods
GetCommand(IServiceProvider, string)
Declaration
IConsoleCommand GetCommand(IServiceProvider serviceProvider, string commandName)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | |
string | commandName |
Returns
Type | Description |
---|---|
IConsoleCommand |
GetCommandHelp(IConsoleCommand)
Declaration
ICommandHelp GetCommandHelp(IConsoleCommand consoleCommand)
Parameters
Type | Name | Description |
---|---|---|
IConsoleCommand | consoleCommand |
Returns
Type | Description |
---|---|
ICommandHelp |
GetCommands()
Declaration
IEnumerable<ICommand> GetCommands()
Returns
Type | Description |
---|---|
IEnumerable<ICommand> |