David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame^] | 1 | // |
| 2 | // TField.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 TField |
| 20 | { |
| 21 | public TField() |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | public TField(string name, TType type, short id) |
| 26 | { |
| 27 | Name = name; |
| 28 | Type = type; |
| 29 | ID = id; |
| 30 | } |
| 31 | |
| 32 | public string Name |
| 33 | { |
| 34 | get; |
| 35 | set; |
| 36 | } |
| 37 | |
| 38 | public TType Type |
| 39 | { |
| 40 | get; |
| 41 | set; |
| 42 | } |
| 43 | |
| 44 | public short ID |
| 45 | { |
| 46 | get; |
| 47 | set; |
| 48 | } |
| 49 | } |
| 50 | } |