Class SaveAllFilesCommandHandler
Command handler for the SaveAllFilesCommandDefinition.
[CommandHandler]
public class SaveAllFilesCommandHandler : ScriptCommandHandlerBase<SaveAllFilesCommandDefinition>, ICommandHandler<SaveAllFilesCommandDefinition>, ICommandHandler
- Inheritance
-
SaveAllFilesCommandHandler
- Implements
- Inherited Members
Constructors
SaveAllFilesCommandHandler(IShell)
Initializes a new instance of the SaveAllFilesCommandHandler class.
[ImportingConstructor]
public SaveAllFilesCommandHandler(IShell shell)
Parameters
shell
IShellGemini shell.
Methods
Run(Command)
Saves the IProject of the active IProjectViewModel to the Directory or by dialog.
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.