Class NewFileCommandHandler
[CommandHandler]
public class NewFileCommandHandler : ICommandListHandler<NewFileCommandListDefinition>, ICommandHandler
- Inheritance
-
NewFileCommandHandler
- Implements
- Inherited Members
Constructors
NewFileCommandHandler(IShell, IEditorProvider[])
[ImportingConstructor]
public NewFileCommandHandler(IShell shell, IEditorProvider[] editorProviders)
Parameters
shell
IShelleditorProviders
IEditorProvider[]
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.