Class LoadConfigurationCommandHandler
Command handler for loading a module configuration.
[CommandHandler]
public class LoadConfigurationCommandHandler : CommandHandlerBase<LoadConfigurationCommandDefinition>, ICommandHandler<LoadConfigurationCommandDefinition>, ICommandHandler
- Inheritance
-
LoadConfigurationCommandHandler
- Implements
- Inherited Members
- Extension Methods
Constructors
LoadConfigurationCommandHandler(IUserManager, IOperatingModeManager, IModulesService)
Initializes a new instance of the LoadConfigurationCommandHandler class.
[ImportingConstructor]
public LoadConfigurationCommandHandler(IUserManager userManager, IOperatingModeManager operatingModeManager, IModulesService modulesService)
Parameters
userManager
IUserManagerManager for the users.
operatingModeManager
IOperatingModeManagerOperating mode manager.
modulesService
IModulesServiceModules configuration service.
Exceptions
- ArgumentNullException
Thrown when
userManager
,operatingModeManager
ormodulesService
is null.
Methods
Run(Command)
Run the command handler.
public override Task Run(Command command)
Parameters
command
CommandThe executing command.
Returns
- Task
The running task.
Update(Command)
Updates the command handler.
public override void Update(Command command)
Parameters
command
CommandThe executing command.