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
IWindowManagerWindow manager.
loadTypeDataViewModel
ILoadTypeDataView model for load type data dialog.
userManager
IUserManagerUser 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
IWindowManagerWindow manager.
loadTypeDataViewModel
ILoadTypeDataView model for load type data dialog.
userManager
IUserManagerUser manager.
operatingModeManager
IOperatingModeManagerOperating mode manager.
Methods
Run(Command)
Shows the dialog for loading type data.
public override Task Run(Command command)
Parameters
command
CommandThe related command.
Returns
- Task
Started task.
Update(Command)
Updates the command.
public override void Update(Command command)
Parameters
command
CommandThe executing command.