xenadmin/XenAdmin/Commands/Controls
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
..
AddHostToSelectedPoolToolStripMenuItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
AddSelectedHostToPoolToolStripMenuItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
AssignVMGroupToolStripMenuItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CommandButton.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CommandConverter.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
CommandEditor.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
CommandEditorControl.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
CommandEditorControl.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
CommandEditorControl.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
CommandEditorControl.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
CommandEditorControl.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
CommandToolStripButton.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
CommandToolStripMenuItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ContextMenuBuilder.cs Merge remote-tracking branch 'upstream/master' into feature/REQ-403 2021-09-01 14:43:23 +01:00
ContextMenuItemCollection.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
EditPropertiesToolStripMenuItem.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
MigrateVMToolStripMenuItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
MultipleWarningDialog.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
MultipleWarningDialog.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
MultipleWarningDialog.ja.resx L10N : Translation Updates and Resx Resync 2020-09-01 14:26:40 +01:00
MultipleWarningDialog.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
MultipleWarningDialog.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
PoolRemoveServerToolStripMenuItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
ResumeVMOnHostToolStripMenuItem.cs CP-36392: remuve redundant iteration in ResumeVMOnHostToolStripMenuItem.cs 2021-11-15 09:24:17 +00:00
StartVMOnHostToolStripMenuItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMLifeCycleToolStripMenuItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
VMOperationToolStripMenuItem.cs CP-36392: Misc fixes to flagged Bugs (#2907) 2021-12-21 15:53:46 +00:00
VMOperationToolStripMenuSubItem.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
WlbRecommendations.cs CP-36392: Move vms null and Count checks outside of WlbRecommendations.cs 2021-11-15 09:52:06 +00:00