Class SaveConfigurationCommandHandler
Command handler for saving a module configuration.
Inheritance
SaveConfigurationCommandHandler
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 SaveConfigurationCommandHandler : CommandHandlerBase<SaveConfigurationCommandDefinition>, ICommandHandler<SaveConfigurationCommandDefinition>, ICommandHandler
Constructors
SaveConfigurationCommandHandler(IOperatingModeManager, IModulesService, IUserManager)
Initializes a new instance of the SaveConfigurationCommandHandler class.
Declaration
[ImportingConstructor]
public SaveConfigurationCommandHandler(IOperatingModeManager operatingModeManager, IModulesService modulesService, IUserManager userManager)
Parameters
Type | Name | Description |
---|---|---|
IOperatingModeManager | operatingModeManager | Operating mode manager. |
IModulesService | modulesService | Modules configuration service. |
IUserManager | userManager | User manager. |
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.SaveConfigurationCommandDefinition>.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.SaveConfigurationCommandDefinition>.Update(Gemini.Framework.Commands.Command)