blob: 9329530957686be20999276aa9e92c0f0a8f4f79 [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{
David Reiss46dc6292008-02-06 22:09:58 +000019 public struct TField
David Reiss7f42bcf2008-01-11 20:59:12 +000020 {
David Reiss7f42bcf2008-01-11 20:59:12 +000021 public TField(string name, TType type, short id)
22 {
23 Name = name;
24 Type = type;
25 ID = id;
26 }
27
28 public string Name
29 {
30 get;
31 set;
32 }
33
34 public TType Type
35 {
36 get;
37 set;
38 }
39
40 public short ID
41 {
42 get;
43 set;
44 }
45 }
46}