From 3a18a36fc6110c5f32ea8f948fe408e56ecc847b Mon Sep 17 00:00:00 2001
From: Deepak Khajuria <9539519+dk307@users.noreply.github.com>
Date: Wed, 25 Nov 2020 15:33:15 -0800
Subject: [PATCH 1/4] Nuget package updates
---
AirVisualNodeConnectorManager.cs | 2 +-
App.config | 4 +-
Connector/AirVisualNodeConnector.cs | 2 +-
DeviceData/DeviceRootDeviceManager.cs | 2 +-
FodyWeavers.xsd | 5 ++
HSPIBase.cs | 2 +-
HSPI_AirVisualNode.csproj | 98 +++++++++++++++------------
PlugIn.cs | 2 +-
PluginConfig.cs | 2 +-
packages.config | 36 +++++-----
10 files changed, 85 insertions(+), 70 deletions(-)
diff --git a/AirVisualNodeConnectorManager.cs b/AirVisualNodeConnectorManager.cs
index 571ca3c..5dcb3a4 100644
--- a/AirVisualNodeConnectorManager.cs
+++ b/AirVisualNodeConnectorManager.cs
@@ -100,6 +100,6 @@ private void SensorDataChanged(object sender, SensorData data)
private readonly IHSApplication HS;
private readonly DeviceRootDeviceManager rootDeviceData;
private readonly AsyncLock rootDeviceDataLock = new AsyncLock();
- private bool disposedValue = false; // To detect redundant calls
+ private bool disposedValue; // To detect redundant calls
}
}
\ No newline at end of file
diff --git a/App.config b/App.config
index 88e999a..a98f69e 100644
--- a/App.config
+++ b/App.config
@@ -8,7 +8,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
diff --git a/Connector/AirVisualNodeConnector.cs b/Connector/AirVisualNodeConnector.cs
index 3ef00a4..cbd3f49 100644
--- a/Connector/AirVisualNodeConnector.cs
+++ b/Connector/AirVisualNodeConnector.cs
@@ -174,7 +174,7 @@ private void UpdateDelta(SensorData data)
private readonly NetworkCredential credentials;
private readonly CancellationTokenSource sourceShutdownToken;
- private bool disposedValue = false;
+ private bool disposedValue;
private DateTime lastUpdate;
}
}
\ No newline at end of file
diff --git a/DeviceData/DeviceRootDeviceManager.cs b/DeviceData/DeviceRootDeviceManager.cs
index 24a86fe..b9fddcd 100644
--- a/DeviceData/DeviceRootDeviceManager.cs
+++ b/DeviceData/DeviceRootDeviceManager.cs
@@ -194,7 +194,7 @@ private DeviceClass CreateDevice(int? optionalParentRefId, string name, string d
private readonly string rootDeviceId;
private readonly string deviceName;
private readonly IHSApplication HS;
- private int? parentRefId = null;
+ private int? parentRefId;
private readonly IDictionary currentChildDevices = new Dictionary();
};
}
\ No newline at end of file
diff --git a/FodyWeavers.xsd b/FodyWeavers.xsd
index 8955ace..9f05b1f 100644
--- a/FodyWeavers.xsd
+++ b/FodyWeavers.xsd
@@ -32,6 +32,11 @@
In explicit mode everything is assumed to be nullable, unless attributed with [NotNull].
+
+
+ Use C# 8 nullable reference type annotations.
+
+
diff --git a/HSPIBase.cs b/HSPIBase.cs
index 59657d3..194d8fd 100644
--- a/HSPIBase.cs
+++ b/HSPIBase.cs
@@ -334,6 +334,6 @@ private void DisconnectHspiConnection()
private readonly bool supportMutipleInstances;
private readonly bool supportsAddDevice;
private readonly bool supportsMultipleInstancesSingleEXE;
- private bool disposedValue = false;
+ private bool disposedValue;
}
}
\ No newline at end of file
diff --git a/HSPI_AirVisualNode.csproj b/HSPI_AirVisualNode.csproj
index 886ecb3..c248345 100644
--- a/HSPI_AirVisualNode.csproj
+++ b/HSPI_AirVisualNode.csproj
@@ -1,11 +1,11 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -90,20 +90,20 @@
packages\homeseer.1.2.8\lib\net45\HSCF.dll
-
- packages\Nito.AsyncEx.Coordination.5.0.0\lib\netstandard2.0\Nito.AsyncEx.Coordination.dll
+
+ packages\Nito.AsyncEx.Coordination.5.1.0\lib\netstandard2.0\Nito.AsyncEx.Coordination.dll
-
- packages\Nito.AsyncEx.Tasks.5.0.0\lib\netstandard2.0\Nito.AsyncEx.Tasks.dll
+
+ packages\Nito.AsyncEx.Tasks.5.1.0\lib\netstandard2.0\Nito.AsyncEx.Tasks.dll
-
- packages\Nito.Collections.Deque.1.0.4\lib\netstandard2.0\Nito.Collections.Deque.dll
+
+ packages\Nito.Collections.Deque.1.1.0\lib\netstandard2.0\Nito.Collections.Deque.dll
-
- packages\Nito.Disposables.2.0.1\lib\net461\Nito.Disposables.dll
+
+ packages\Nito.Disposables.2.2.0\lib\net461\Nito.Disposables.dll
-
- packages\NullGuard.Fody.2.2.0\lib\net40\NullGuard.dll
+
+ packages\NullGuard.Fody.3.0.0\lib\net40\NullGuard.dll
packages\homeseer.1.2.8\lib\net45\Scheduler.dll
@@ -113,14 +113,14 @@
- packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll
+ packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
-
- packages\System.Collections.Immutable.1.7.0\lib\netstandard2.0\System.Collections.Immutable.dll
+
+ packages\System.Collections.Immutable.5.0.0\lib\net461\System.Collections.Immutable.dll
-
- packages\System.Console.4.3.0\lib\net46\System.Console.dll
+
+ packages\System.Console.4.3.1\lib\net46\System.Console.dll
True
True
@@ -132,7 +132,7 @@
True
- packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll
+ packages\System.Memory.4.5.4\lib\net461\System.Memory.dll
@@ -154,17 +154,17 @@
packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
-
- packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll
+
+ packages\System.Runtime.4.3.1\lib\net462\System.Runtime.dll
True
True
-
- packages\System.Runtime.CompilerServices.Unsafe.4.7.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll
+
+ packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll
- packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll
+ packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net463\System.Security.Cryptography.Algorithms.dll
True
True
@@ -231,15 +231,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -283,15 +283,25 @@ foreach (var item in filesToCleanup)
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+