Class SystemMaintenanceCommand
Command for system maintenance tasks. (Not yet implemented)
public class SystemMaintenanceCommand : AbstractCommand, ICommand
- Inheritance
-
SystemMaintenanceCommand
- Implements
- Inherited Members
Fields
Key
The unique key for the SystemMaintenance command.
public const string Key = "systemmaintenance"
Field Value
Properties
CommandKey
Gets the unique key identifier for this command type.
public override string CommandKey { get; }
Property Value
Description
Gets the description of what this command does.
public override string Description { get; }
Property Value
Methods
ExecuteCore(CommandParameters, SessionContext?)
Executes the core logic of the command.
protected override CommandResult ExecuteCore(CommandParameters parameters, SessionContext? session)
Parameters
parametersCommandParametersThe parameters for the command.
sessionSessionContextThe user session context.
Returns
- CommandResult
The result of the command execution.
GetRequiredPermission()
Gets the required permission to execute this command.
public override Permission? GetRequiredPermission()
Returns
- Permission?
The required permission.
ValidateParameters(CommandParameters)
Validates the parameters for the command.
protected override CommandValidationResult ValidateParameters(CommandParameters parameters)
Parameters
parametersCommandParametersThe parameters to validate.
Returns
- CommandValidationResult
The result of the validation.