Class ViewProjectCommandHandler
Command handler for the ViewProjectCommandDefinition.
[CommandHandler]
public class ViewProjectCommandHandler : ScriptCommandHandlerBase<ViewProjectCommandDefinition>, ICommandHandler<ViewProjectCommandDefinition>, ICommandHandler
- Inheritance
-
ViewProjectCommandHandler
- Implements
- Inherited Members
Constructors
ViewProjectCommandHandler(IShell, IProjectViewModelFactory)
Initializes a new instance of the ViewProjectCommandHandler class.
[ImportingConstructor]
public ViewProjectCommandHandler(IShell shell, IProjectViewModelFactory projectViewModelFactory)
Parameters
shell
IShellGemini shell.
projectViewModelFactory
IProjectViewModelFactoryFactory for project view models.
Methods
Run(Command)
Shows the project explorer.
public override Task Run(Command command)
Parameters
command
CommandThe executing command.
Returns
- Task
The running task.
Update(Command)
Updates the command.
public override void Update(Command command)
Parameters
command
CommandThe executing command.