Class SaveFileCommandHandler
Command handler for the SaveFileCommandDefinition.
[CommandHandler]
public class SaveFileCommandHandler : ScriptCommandHandlerBase<SaveFileCommandDefinition>, ICommandHandler<SaveFileCommandDefinition>, ICommandHandler
- Inheritance
-
SaveFileCommandHandler
- Implements
- Inherited Members
Constructors
SaveFileCommandHandler(IShell)
Initializes a new instance of the SaveFileCommandHandler class.
[ImportingConstructor]
public SaveFileCommandHandler(IShell shell)
Parameters
shell
IShellGemini shell.
Methods
Run(Command)
Saves the active IPersistedElement.
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.