David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 1 | // |
| 2 | // TSet.cs |
| 3 | // |
| 4 | // Begin: Aug 19, 2007 |
| 5 | // Authors: |
| 6 | // Todd Berman <tberman@imeem.com> |
| 7 | // |
| 8 | // Distributed under the Thrift Software License |
| 9 | // |
| 10 | // See accompanying file LICENSE or visit the Thrift site at: |
| 11 | // http://developers.facebook.com/thrift/using |
| 12 | |
| 13 | using System; |
| 14 | using System.Collections.Generic; |
| 15 | using System.Text; |
| 16 | |
| 17 | namespace Thrift.Protocol |
| 18 | { |
| 19 | public class TSet |
| 20 | { |
| 21 | public TSet() |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | public TSet(TType elementType, int count) |
| 26 | { |
| 27 | ElementType = elementType; |
| 28 | Count = count; |
| 29 | } |
| 30 | |
| 31 | public TType ElementType |
| 32 | { |
| 33 | get; |
| 34 | set; |
| 35 | } |
| 36 | |
| 37 | public int Count |
| 38 | { |
| 39 | get; |
| 40 | set; |
| 41 | } |
| 42 | } |
| 43 | } |