xenadmin/XenCenterLib
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
..
Archive CA-347483: Silence exception thrown when disposing compression or tar stream if the user has requested cancellation. 2020-12-18 01:34:25 +00:00
Compression CA-347483: Silence exception thrown when disposing compression or tar stream if the user has requested cancellation. 2020-12-18 01:34:25 +00:00
Properties Removed obsolete class XSVersionAttribute. Some refactoring of the usage of Program.Version. 2020-12-24 01:23:47 +00:00
BasicXMLResolver.cs Namespace tidy 1/several: replaced Citrix.XenCenter with XenCenterLib. 2017-11-30 13:56:32 +00:00
ChangeableDictionary.cs Avoid duplicate logging; compact multiple logging calls. 2019-11-13 12:31:44 +00:00
ChangeableList.cs CP-36392: Misc fixes to flagged Bugs (#2907) 2021-12-21 15:53:46 +00:00
ComparableAddress.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
ComparableList.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
EmailAddressValidator.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
EncryptionUtils.cs CA-343280: Reworked saving user settings. 2020-12-07 15:57:26 +00:00
IniDocument.cs CP-32713: Show an error message if the user attempts an update using the base installation ISO. 2020-04-22 10:33:22 +01:00
INotifyCollectionChanged.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
LimitedStack.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
LockFreeQueue.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
NamedPipes.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
PartialIP.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
Processes.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
Set.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
StreamUtilities.cs CA-350574: Corrections to signing an appliance. 2021-01-12 12:14:31 +00:00
StringUtility.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
ToStringWrapper.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
Win32.cs Corrections to the logging of Win32 exceptions. Minor refactoring. 2019-11-13 12:31:44 +00:00
XenCenterLib.csproj CA-359809 improved illegal character message (#2898) 2021-11-22 12:02:26 +00:00