Skip to content

Commit b70f745

Browse files
Dmitry KovalDmitry Koval
authored andcommitted
Switch from SocketIoClientDotNet.core_2.2 (binaries) to SocketIoClientDotNet.Standard (nuget package, netstandard).
1 parent 0e066f0 commit b70f745

File tree

6 files changed

+16
-1118
lines changed

6 files changed

+16
-1118
lines changed

route4me-csharp-sdk/Route4MeSDKLibrary/FastProcessing/Connection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Quobject.SocketIoClientDotNet.Client;
2-
using Quobject.SocketIoClientDotNet.EngineIoClientDotNet.Modules;
1+
using Quobject.EngineIoClientDotNet.Modules;
2+
using Quobject.SocketIoClientDotNet.Client;
33

44
namespace Route4MeSDK.FastProcessing
55
{

route4me-csharp-sdk/Route4MeSDKLibrary/FastProcessing/FastBulkGeocoding.cs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
using System.Net;
88
using System.Threading;
99
using System.Threading.Tasks;
10-
using Quobject.SocketIoClientDotNet.EngineIoClientDotNet.Client.Transports;
1110
using Newtonsoft.Json;
1211
using Newtonsoft.Json.Linq;
12+
using Quobject.EngineIoClientDotNet.Client;
13+
using Quobject.EngineIoClientDotNet.Client.Transports;
1314
using Quobject.SocketIoClientDotNet.Client;
14-
using Quobject.SocketIoClientDotNet.EngineIoClientDotNet.Client;
1515
using Route4MeSDK.DataTypes;
1616
using Route4MeSDK.QueryTypes;
1717
using Route4MeSDKLibrary.DataTypes;
@@ -49,10 +49,17 @@ public class FastBulkGeocoding : Connection
4949
/// </summary>
5050
public bool GeocodeOnlyEmpty { get; set; } = false;
5151

52+
[Obsolete("enableTraceSource is not used anymore. Use overloaded constructor without enableTraceSource")]
5253
public FastBulkGeocoding(string apiKey, bool enableTraceSource = false)
5354
{
54-
if (apiKey != "") _apiKey = apiKey;
55-
Quobject.SocketIoClientDotNet.TraceSourceTools.LogTraceSource.TraceSourceLogging(enableTraceSource);
55+
}
56+
57+
public FastBulkGeocoding(string apiKey)
58+
{
59+
if (apiKey != "")
60+
{
61+
_apiKey = apiKey;
62+
}
5663
}
5764

5865
/// <summary>

route4me-csharp-sdk/Route4MeSDKLibrary/FastProcessing/Options.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
using Quobject.SocketIoClientDotNet.EngineIoClientDotNet.Client;
7-
using Quobject.SocketIoClientDotNet.Client;
8-
using System.Collections.Immutable;
1+
using System.Collections.Immutable;
2+
using Quobject.EngineIoClientDotNet.Client;
93

104
namespace Route4MeSDK.FastProcessing
115
{

route4me-csharp-sdk/Route4MeSDKLibrary/Route4MeSDKLibrary.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ The service is typically used by organizations who must route many drivers to ma
3939
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
4040
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
4141
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
42+
<PackageReference Include="SocketIoClientDotNet.Standard" Version="0.0.5" />
4243
<PackageReference Include="System.Collections.Immutable" Version="6.0.0" />
4344
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
4445
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0" />

0 commit comments

Comments
 (0)