Class SwitchToDocumentListCommandHandler
[CommandHandler]
public class SwitchToDocumentListCommandHandler : ICommandListHandler<SwitchToDocumentCommandListDefinition>, ICommandHandler
- Inheritance
-
SwitchToDocumentListCommandHandler
- Implements
- Inherited Members
Constructors
SwitchToDocumentListCommandHandler(IShell)
[ImportingConstructor]
public SwitchToDocumentListCommandHandler(IShell shell)
Parameters
shell
IShell
Methods
Populate(Command, List<Command>)
Populates the commands in the command list. Add your command items to the commands
.
public void Populate(Command command, List<Command> commands)
Parameters
Run(Command)
Runs the command.
public Task Run(Command command)
Parameters
command
CommandAssociated command.
Returns
- Task
A task that represents the command execution.