Table of Contents

Class LoadTypeDataCommandHandler

Namespace
Loehnert.Lisrt.TypeAndResult.Commands
Assembly
Loehnert.Lisrt.TypeAndResult.dll

Represents the command handler for the LoadTypeDataCommandDefinition.

[CommandHandler]
public class LoadTypeDataCommandHandler : CommandHandlerBase<LoadTypeDataCommandDefinition>, ICommandHandler<LoadTypeDataCommandDefinition>, ICommandHandler
Inheritance
LoadTypeDataCommandHandler
Implements
Inherited Members

Constructors

LoadTypeDataCommandHandler(IWindowManager, ILoadTypeData, IUserManager)

Initializes a new instance of the LoadTypeDataCommandHandler class.

public LoadTypeDataCommandHandler(IWindowManager windowManager, ILoadTypeData loadTypeDataViewModel, IUserManager userManager)

Parameters

windowManager IWindowManager

Window manager.

loadTypeDataViewModel ILoadTypeData

View model for load type data dialog.

userManager IUserManager

User manager.

LoadTypeDataCommandHandler(IWindowManager, ILoadTypeData, IUserManager, IOperatingModeManager)

Initializes a new instance of the LoadTypeDataCommandHandler class.

[ImportingConstructor]
public LoadTypeDataCommandHandler(IWindowManager windowManager, ILoadTypeData loadTypeDataViewModel, IUserManager userManager, IOperatingModeManager operatingModeManager)

Parameters

windowManager IWindowManager

Window manager.

loadTypeDataViewModel ILoadTypeData

View model for load type data dialog.

userManager IUserManager

User manager.

operatingModeManager IOperatingModeManager

Operating mode manager.

Methods

Run(Command)

Shows the dialog for loading type data.

public override Task Run(Command command)

Parameters

command Command

The related command.

Returns

Task

Started task.

Update(Command)

Updates the command.

public override void Update(Command command)

Parameters

command Command

The executing command.