Table of Contents

Class SaveFileCommandHandler

Namespace
Loehnert.Lisrt.Scripting.Project.Commands
Assembly
Loehnert.Lisrt.Scripting.dll

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 IShell

Gemini shell.

Methods

Run(Command)

Saves the active IPersistedElement.

public override Task Run(Command command)

Parameters

command Command

The executing command.

Returns

Task

The running task.

Update(Command)

Updates the command.

public override void Update(Command command)

Parameters

command Command

The executing command.