commit | ecad39224c5b03a316c0953322de235ebce088f7 | [log] [tgz] |
---|---|---|
author | Henrique Mendonca <henrique@apache.org> | Wed Oct 03 09:25:52 2012 +0000 |
committer | Henrique Mendonca <henrique@apache.org> | Wed Oct 03 09:25:52 2012 +0000 |
tree | d8e6ff2f2e2ac2c820ed918799b930730d7e5ab2 | |
parent | 5d6bd5a606b4cd1f77c65d75888e8424ed22d912 [diff] [blame] |
Thrift-336: Compact Protocol in C# Patch: Henrique Mendonça git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1393368 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/csharp/src/Protocol/TSet.cs b/lib/csharp/src/Protocol/TSet.cs index aff7f65..68e5286 100644 --- a/lib/csharp/src/Protocol/TSet.cs +++ b/lib/csharp/src/Protocol/TSet.cs
@@ -39,6 +39,11 @@ this.count = count; } + public TSet(TList list) + : this(list.ElementType, list.Count) + { + } + public TType ElementType { get { return elementType; }