Class LoadConfigurationCommandHandler
Command handler for loading a module configuration.
Inheritance
LoadConfigurationCommandHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: Loehnert.Lisrt.Modules.Commands
Assembly: Loehnert.Lisrt.Modules.dll
Syntax
[CommandHandler]
public class LoadConfigurationCommandHandler : CommandHandlerBase<LoadConfigurationCommandDefinition>, ICommandHandler<LoadConfigurationCommandDefinition>, ICommandHandler
Constructors
LoadConfigurationCommandHandler(IUserManager, IOperatingModeManager, IModulesService)
Initializes a new instance of the LoadConfigurationCommandHandler class.
Declaration
[ImportingConstructor]
public LoadConfigurationCommandHandler(IUserManager userManager, IOperatingModeManager operatingModeManager, IModulesService modulesService)
Parameters
Type | Name | Description |
---|---|---|
IUserManager | userManager | Manager for the users. |
IOperatingModeManager | operatingModeManager | Operating mode manager. |
IModulesService | modulesService | Modules configuration service. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when |
Methods
Run(Command)
Run the command handler.
Declaration
public override Task Run(Command command)
Parameters
Type | Name | Description |
---|---|---|
Command | command | The executing command. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The running task. |
Overrides
Gemini.Framework.Commands.CommandHandlerBase<Loehnert.Lisrt.Modules.Commands.LoadConfigurationCommandDefinition>.Run(Gemini.Framework.Commands.Command)
Update(Command)
Updates the command handler.
Declaration
public override void Update(Command command)
Parameters
Type | Name | Description |
---|---|---|
Command | command | The executing command. |
Overrides
Gemini.Framework.Commands.CommandHandlerBase<Loehnert.Lisrt.Modules.Commands.LoadConfigurationCommandDefinition>.Update(Gemini.Framework.Commands.Command)