Table of Contents

Class SaveConfigurationCommandHandler

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

Command handler for saving a module configuration.

[CommandHandler]
public class SaveConfigurationCommandHandler : CommandHandlerBase<SaveConfigurationCommandDefinition>, ICommandHandler<SaveConfigurationCommandDefinition>, ICommandHandler
Inheritance
SaveConfigurationCommandHandler
Implements
Inherited Members
Extension Methods

Constructors

SaveConfigurationCommandHandler(IOperatingModeManager, IModulesService, IUserManager)

Initializes a new instance of the SaveConfigurationCommandHandler class.

[ImportingConstructor]
public SaveConfigurationCommandHandler(IOperatingModeManager operatingModeManager, IModulesService modulesService, IUserManager userManager)

Parameters

operatingModeManager IOperatingModeManager

Operating mode manager.

modulesService IModulesService

Modules configuration service.

userManager IUserManager

User manager.

Exceptions

ArgumentNullException

Thrown when operatingModeManager or modulesService is null.

Methods

Run(Command)

Run the command handler.

public override Task Run(Command command)

Parameters

command Command

The executing command.

Returns

Task

The running task.

Update(Command)

Updates the command handler.

public override void Update(Command command)

Parameters

command Command

The executing command.