Skip to content

Commit bbf1492

Browse files
committed
Remove NetReflector dependency from Thrift client
1 parent 933fe9f commit bbf1492

File tree

5 files changed

+1
-40
lines changed

5 files changed

+1
-40
lines changed

Diff for: dep/NetReflector.1.1.2009/NetReflector.1.1.2009.nuspec

-27
This file was deleted.

Diff for: dep/NetReflector.1.1.2009/lib/net20/NetReflector.dll

-52 KB
Binary file not shown.

Diff for: src/Connections/Elasticsearch.Net.Connection.Thrift/Elasticsearch.Net.Connection.Thrift.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@
7373
<AssemblyOriginatorKeyFile>..\..\..\build\keys\keypair.snk</AssemblyOriginatorKeyFile>
7474
</PropertyGroup>
7575
<ItemGroup>
76-
<Reference Include="NetReflector, Version=1.1.2009.1214, Culture=neutral, PublicKeyToken=2f4dd8b32acbcd8e, processorArchitecture=MSIL">
77-
<SpecificVersion>False</SpecificVersion>
78-
<HintPath>..\..\..\dep\NetReflector.1.1.2009\lib\net20\NetReflector.dll</HintPath>
79-
</Reference>
8076
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
8177
<SpecificVersion>False</SpecificVersion>
8278
<HintPath>..\..\..\dep\Newtonsoft.Json.6.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>

Diff for: src/Connections/Elasticsearch.Net.Connection.Thrift/Transport/TSocketSettings.cs

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using Exortech.NetReflector;
2-
1+

32
namespace Elasticsearch.Net.Connection.Thrift.Transport
43
{
5-
[ReflectorType("SocketSettings")]
64
public class TSocketSettings
75
{
86
protected bool Equals(TSocketSettings other)
@@ -33,19 +31,14 @@ public override int GetHashCode()
3331
ConnectTimeout = 3000
3432
};
3533

36-
[ReflectorProperty("SendBufferSize", InstanceType = typeof(int), Required = false)]
3734
public int SendBufferSize { get; set; }
3835

39-
[ReflectorProperty("ReceiveBufferSize", InstanceType = typeof(int), Required = false)]
4036
public int ReceiveBufferSize { get; set; }
4137

42-
[ReflectorProperty("SendTimeout", InstanceType = typeof(int), Required = false)]
4338
public int SendTimeout { get; set; }
4439

45-
[ReflectorProperty("ReceiveTimeout", InstanceType = typeof(int), Required = false)]
4640
public int ReceiveTimeout { get; set; }
4741

48-
[ReflectorProperty("ConnectTimeout", InstanceType = typeof(int), Required = false)]
4942
public int ConnectTimeout { get; set; }
5043

5144
public override bool Equals(object obj)
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NetReflector" version="1.1.2009" targetFramework="net40" />
43
<package id="Newtonsoft.Json" version="6.0.1" targetFramework="net40" />
54
</packages>

0 commit comments

Comments
 (0)