Table of Contents

Class ShowServiceViewCommandHandler

Namespace
Loehnert.Lisrt.Modules.Commands
Assembly
Loehnert.Lisrt.Modules.dll

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 IShell

The 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 Command

The 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 Command

Command that is updated.