xenadmin/XenModel/Actions/Host
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
..
ActivationProxy.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
ApplyLicenseAction.cs CP-32931: Stop sending licensing information to the licensing server 2020-02-11 08:35:42 +00:00
ApplyLicenseEditionAction.cs CP-36392: Misc fixes to flagged Bugs (#2907) 2021-12-21 15:53:46 +00:00
ChangeControlDomainMemoryAction.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
ChangeHostPasswordAction.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
DestroyHostAction.cs Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
DestroyHostCrashDumpAction.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
DisableHostAction.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
EditMultipathAction.cs Avoid duplicate logging; compact multiple logging calls. 2019-11-13 12:31:44 +00:00
EnableHostAction.cs CP-36392: Add null check in EnableHostAction.cs 2021-11-15 09:21:25 +00:00
EvacuateHostAction.cs CP-36392: Refactor useless null checks in actions constructors 2021-10-04 15:41:59 +01:00
FibreChannelDevice.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
FibreChannelProbeAction.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
GetServerLocalTimeAction.cs CA-301907: Improvements to the VMSS dialog, the VMSS frequency properties/wizard page and the VMSS finish wizard page (#2358) 2019-03-15 14:10:42 +00:00
GetSystemStatusCapabilities.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
HostAbstractAction.cs CA-302772: A host reboot can result in a requested PercentComplete exceeding 100%. 2018-11-23 10:51:00 +00:00
HostBackupRestoreAction.cs Do not use the task description as the AsyncAction description because in most cases it is not localised. 2021-03-16 10:27:55 +00:00
HostPowerOnAction.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
InstallCertificateAction.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RebootHostAction.cs CP-36392: Refactor useless null checks in actions constructors 2021-10-04 15:41:59 +01:00
RestartToolstackAction.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
RunPluginAction.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
SavePowerOnSettingsAction.cs CP-33294: Remove iLO power on option from XenCenter 2020-03-30 10:48:32 +01:00
ShutdownHostAction.cs CP-36392: Refactor useless null checks in actions constructors 2021-10-04 15:41:59 +01:00
SingleHostStatusAction.cs CA-359709: Add RBAC check to BugToolWizard.cs 2021-10-28 13:48:24 +01:00
UpdateIntegratedGpuPassthroughAction.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
VMsWhichCanBeMigratedAction.cs Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00