blob: f18381ff95522b440570ba1155e16317d037a3b8 [file] [log] [blame]
David Reiss7f42bcf2008-01-11 20:59:12 +00001//
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
13using System;
14using System.Collections.Generic;
15using System.Text;
16
17namespace 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}