blob: 93c0738a1d296667dbaa1f9433af154479a672fb [file] [log] [blame]
David Reiss7f42bcf2008-01-11 20:59:12 +00001//
2// TField.cs
3//
4// Begin: Aug 19, 2007
David Reiss0c90f6f2008-02-06 22:18:40 +00005// Authors:
David Reiss7f42bcf2008-01-11 20:59:12 +00006// 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)
David Reissc9d06ee2008-03-18 18:22:43 +000022 :this()
David Reiss7f42bcf2008-01-11 20:59:12 +000023 {
24 Name = name;
25 Type = type;
26 ID = id;
27 }
28
29 public string Name
30 {
31 get;
32 set;
33 }
34
35 public TType Type
36 {
37 get;
38 set;
39 }
40
41 public short ID
42 {
43 get;
44 set;
45 }
46 }
47}