Class ShowServiceViewCommandHandler
A command handler that shows the service view when the ILisrtModule has IHasServiceView implemented.
[CommandHandler]
public class ShowServiceViewCommandHandler : CommandHandlerBase<ShowServiceViewCommandDefinition>, ICommandHandler<ShowServiceViewCommandDefinition>, ICommandHandler
- Inheritance
-
ShowServiceViewCommandHandler
- Implements
- Inherited Members
- Extension Methods
Constructors
ShowServiceViewCommandHandler(IShell)
Initializes a new instance of the ShowServiceViewCommandHandler class.
[ImportingConstructor]
public ShowServiceViewCommandHandler(IShell shell)
Parameters
shell
IShellThe shell in where the service window is displayed.
Exceptions
- ArgumentNullException
Thrown when
shell
is null.
Methods
Run(Command)
Executes the command
.
public override Task Run(Command command)
Parameters
command
CommandThe command that is executed.
Returns
- Task
A task that represents the asynchronous operation.
Update(Command)
Updates the command
.
public override void Update(Command command)
Parameters
command
CommandCommand that is updated.