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
shellIShellGemini shell.
projectViewModelFactoryIProjectViewModelFactoryFactory for project view models.
Methods
Run(Command)
Shows the project explorer.
public override Task Run(Command command)
Parameters
commandCommandThe executing command.
Returns
- Task
The running task.
Update(Command)
Updates the command.
public override void Update(Command command)
Parameters
commandCommandThe executing command.