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 | { |
David Reiss | 46dc629 | 2008-02-06 22:09:58 +0000 | [diff] [blame^] | 19 | public struct TSet |
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 20 | { |
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 21 | public TSet(TType elementType, int count) |
| 22 | { |
| 23 | ElementType = elementType; |
| 24 | Count = count; |
| 25 | } |
| 26 | |
| 27 | public TType ElementType |
| 28 | { |
| 29 | get; |
| 30 | set; |
| 31 | } |
| 32 | |
| 33 | public int Count |
| 34 | { |
| 35 | get; |
| 36 | set; |
| 37 | } |
| 38 | } |
| 39 | } |