xenadmin/XenAdmin/Commands
Danilo Del Busso 16d7f74158
CP-36392: Misc fixes to flagged Bugs (#2907)
* CP-36392: Add several `null` checks

All were flagged by SonarQube

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Specify `namespace` for `SettingsUpdate`

Added to `XenAdmin`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Collapse useless condition check

Also use pattern matching for type cast

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Specify `namespace` for `ProduceConsumerQueue`

Add to `XenAdmin.Actions`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Rename field in `BugToolPageSelectCapabilties` to avoid name clash

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Add explicit `null` check

While the `null` check in `GraphDetailsDialog.cs` is not strictly necessary, it has been added to fix a SonarQube issue

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Remove unused field in `WlbPoolConfiguration.cs`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Replace useless self-assignment with ad-hoc method

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Simplify dictionary key assignment in `WlbScheduledTask.cs`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Fix minor formatting issues

Add newline at end of file, and reformat content of if statement

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Tidy up latest flagged bugs changes

- Fix whitespace/braces in a few affected files
- Add missing null check in `ValueMaps.cs`
- Check for args length in `RbacCollectorProxy.cs`
- Fix logic in `MainWindow.cs` to revert to previous behaviour

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Tidy up setter in `ChangeableList.cs`

Also update whitespace inconsitencies in `PerfmonAlertEditPage.cs` and `VMHAEditPage.cs`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2021-12-21 15:53:46 +00:00
..
Controls CP-36392: Misc fixes to flagged Bugs (#2907) 2021-12-21 15:53:46 +00:00
ActivateVBDCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
AddHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
AddHostToPoolCommand.cs CA-359795: Fixed issue whereby a double error was shown when a non-privileged user attempted to apply a licence. 2021-10-26 00:47:08 +01:00
AddNewHostToPoolCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
AddVirtualDiskCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
AttachVirtualDiskCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
BackupHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
BugToolCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CallHomeCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CancelHostConnectionCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CertificateCommand.cs Merge remote-tracking branch 'upstream/master' into feature/REQ-403 2021-09-01 14:43:23 +01:00
ChangeControlDomainMemoryCommand.cs CP-36392: Invert if statements to reduce nesting in HostMemoryControls and changeControlDomainMemoryCommand 2021-11-16 11:42:18 +00:00
ChangeHostPasswordCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CollapseChildTreeNodesCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
Command.cs Refactored and renamed class WizardPermission and the code areas using it. Corrections to RBAC messages. Sorted Messages.resx. 2021-11-24 09:58:43 +00:00
ConnectAllHostsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ConvertVMToTemplateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CopyVMCommand.cs Further refactoring of CopyVM- and CopyTemplateCommand to reduce repetitive code. 2021-11-24 09:58:43 +00:00
CreateVMFromTemplateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CrossConnectionCommand.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
CrossPoolCopyVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CrossPoolMigrateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CrossPoolMigrateToHomeCommand.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
CrossPoolMoveVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeactivateVBDCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeleteFolderCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeletePoolCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeleteSnapshotCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeleteTagCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeleteTemplateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeleteVirtualDiskCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeleteVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DeleteVMsAndTemplatesCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DestroyBondCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DestroyHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DestroySRCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DetachSRCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DetachVirtualDiskCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DisableChangedBlockTrackingCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DisablePvsReadCachingCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DisasterRecoveryCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DisconnectAllHostsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DisconnectCommand.cs CA-343229: Some modifications: 2021-12-17 11:08:31 +00:00
DisconnectHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DisconnectHostsAndPoolsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DisconnectPoolCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DockerContainerCommand.cs CP-36908: Remove support for xscontainer supp-pack from stockholm. 2021-09-23 10:44:43 +01:00
DragDropAddHostToPoolCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DragDropCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DragDropCrossPoolMoveHaltedVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DragDropIntoFolderCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DragDropMigrateVMCommand.cs CP-36392: Remove condition that always evaluates to false 2021-10-01 11:56:35 +01:00
DragDropRemoveHostFromPoolCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DragDropTagCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DRConfigureCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DRDryrunCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DRFailbackCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DRFailoverCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
EditTagsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
EnablePvsReadCachingCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
EnableTlsVerificationCommand.cs CP-38427 issue 1: Do not allow enabling TLS verification during RPU. 2021-11-30 22:46:43 +00:00
ExpandTreeNodesCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ExportCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ExportResourceReportCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ExportSnapshotAsTemplateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ExportTemplateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ExportVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ForceVMRebootCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ForceVMShutDownCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ForgetSavedPasswordCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ForgetSRCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
HACommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
HostMaintenanceModeCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
HostPasswordCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
HostReconnectAsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ImPortCommand.cs Made ovfModeOnly an optional parameter. 2021-11-24 15:35:00 +00:00
ImportSearchCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
InstallNewUpdateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
InstallToolsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
InstantVMFromTemplateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
LaunchConversionManagerCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
MigrateVirtualDiskCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
MoveVirtualDiskCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
MoveVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NewFolderCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NewPoolCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NewSRCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NewTemplateFromSnapshotCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NewVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NewVMFromSnapshotCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NewVMFromTemplateCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
PoolReconnectAsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
PowerOnHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
PropertiesCommands.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
PutFolderIntoRenameModeCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
PutTagIntoRenameModeCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ReattachSRCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RebootCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RebootHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RebootVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ReconnectHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RemoveFromFolderCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RemoveHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RemoveHostCrashDumpsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RemoveHostFromPoolCommand.cs CP-36392: Add comment to ignored catch blocks 2021-09-20 09:35:17 +01:00
RenameFolderCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RenameTagCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RepairSRCommand.cs CP-36392: Move param checks outside of RepairSRDialog.cs's constructor 2021-11-15 10:05:08 +00:00
RescanPIFsCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RestartToolstackCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RestoreHostFromBackupCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ResumeVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RevertToSnapshotCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RollingUpgradeCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RotatePoolSecretCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
SelectedItem.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
SelectedItemCollection.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
SelectionBroadcaster.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
SelectionManager.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
SetAsDefaultSRCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ShutDownCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ShutDownHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ShutDownVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
StartVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
SuspendVMCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
TakeSnapshotCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
TrimSRCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
UntagCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VappShutDownCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VappStartCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VirtualDiskCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMGroupCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMLifeCycleCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMOperationCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMOperationHomeServerCommand.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
VMOperationHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMOperationWlbHostCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMOperationWlbOptimalServerCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMRecoveryModeCommand.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
WlbCommand.cs Merge remote-tracking branch 'upstream/master' into feature/REQ-403 2021-09-01 14:43:23 +01:00