为DeviceManager和V8类中符合条件的字段添加readonly关键字,解决IDE0044警告
This commit is contained in:
@@ -131,7 +131,7 @@ namespace JoyD.Windows.CS.Toprie
|
||||
private string deviceIp;
|
||||
private Socket socket = null;
|
||||
private static bool isSdkInitialized = false;
|
||||
private static Dictionary<string, V8> deviceInstances = new Dictionary<string, V8>();
|
||||
private static readonly Dictionary<string, V8> deviceInstances = new Dictionary<string, V8>();
|
||||
|
||||
public V8(string ip)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user