From ecad39224c5b03a316c0953322de235ebce088f7 Mon Sep 17 00:00:00 2001 From: Henrique Mendonca Date: Wed, 3 Oct 2012 09:25:52 +0000 Subject: [PATCH] =?utf8?q?Thrift-336:=20Compact=20Protocol=20in=20C#=20Pat?= =?utf8?q?ch:=20Henrique=20Mendon=C3=A7a?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1393368 13f79535-47bb-0310-9956-ffa450edef68 --- lib/csharp/src/Protocol/TSet.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/csharp/src/Protocol/TSet.cs b/lib/csharp/src/Protocol/TSet.cs index aff7f65d..68e52867 100644 --- a/lib/csharp/src/Protocol/TSet.cs +++ b/lib/csharp/src/Protocol/TSet.cs @@ -39,6 +39,11 @@ namespace Thrift.Protocol this.count = count; } + public TSet(TList list) + : this(list.ElementType, list.Count) + { + } + public TType ElementType { get { return elementType; } -- 2.17.1