add netcore and refactoring
This commit is contained in:
+3
-2
@@ -13,7 +13,7 @@ and the Eclipse Distribution License is available at
|
||||
Contributors:
|
||||
Paolo Patierno - initial API and implementation and/or initial documentation
|
||||
*/
|
||||
|
||||
#if !NETCOREAPP
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@@ -33,4 +33,5 @@ namespace uPLibrary.Networking.M2Mqtt
|
||||
|
||||
public static void SleepThread(int millisecondsTimeout) { Task.Delay(millisecondsTimeout).RunSynchronously(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -13,7 +13,7 @@ and the Eclipse Distribution License is available at
|
||||
Contributors:
|
||||
Paolo Patierno - initial API and implementation and/or initial documentation
|
||||
*/
|
||||
|
||||
#if !NETCOREAPP
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace uPLibrary.Networking.M2Mqtt
|
||||
@@ -25,3 +25,4 @@ namespace uPLibrary.Networking.M2Mqtt
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -13,7 +13,7 @@ and the Eclipse Distribution License is available at
|
||||
Contributors:
|
||||
Paolo Patierno - initial API and implementation and/or initial documentation
|
||||
*/
|
||||
|
||||
#if !NETCOREAPP
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -177,3 +177,4 @@ namespace uPLibrary.Networking.M2Mqtt
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -13,7 +13,7 @@ and the Eclipse Distribution License is available at
|
||||
Contributors:
|
||||
Paolo Patierno - initial API and implementation and/or initial documentation
|
||||
*/
|
||||
|
||||
#if !NETCOREAPP
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace uPLibrary.Networking.M2Mqtt
|
||||
@@ -25,3 +25,4 @@ namespace uPLibrary.Networking.M2Mqtt
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user