Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5d6bd5a
)
Thrift-336: Compact Protocol in C#
author
Henrique Mendonca
<henrique@apache.org>
Wed, 3 Oct 2012 09:25:52 +0000
(09:25 +0000)
committer
Henrique Mendonca
<henrique@apache.org>
Wed, 3 Oct 2012 09:25:52 +0000
(09:25 +0000)
Patch: Henrique Mendonça
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1393368
13f79535
-47bb-0310-9956-
ffa450edef68
lib/csharp/src/Protocol/TSet.cs
patch
|
blob
|
history
diff --git
a/lib/csharp/src/Protocol/TSet.cs
b/lib/csharp/src/Protocol/TSet.cs
index
aff7f65
..
68e5286
100644
(file)
--- 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; }