blob: 1a7d57210bc5e64fcba3fce61e1b3d572d72c959 [file] [log] [blame]
David Reiss7f42bcf2008-01-11 20:59:12 +00001//
2// TStruct.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
12using System;
13using System.Collections.Generic;
14using System.Text;
15
16namespace Thrift.Protocol
17{
David Reiss46dc6292008-02-06 22:09:58 +000018 public struct TStruct
David Reiss7f42bcf2008-01-11 20:59:12 +000019 {
David Reissd831a212009-02-13 03:09:52 +000020 private string name;
21
David Reiss7f42bcf2008-01-11 20:59:12 +000022 public TStruct(string name)
David Reissc9d06ee2008-03-18 18:22:43 +000023 :this()
David Reiss7f42bcf2008-01-11 20:59:12 +000024 {
David Reissd831a212009-02-13 03:09:52 +000025 this.name = name;
David Reiss7f42bcf2008-01-11 20:59:12 +000026 }
27
28 public string Name
29 {
David Reissd831a212009-02-13 03:09:52 +000030 get { return name; }
31 set { name = value; }
David Reiss7f42bcf2008-01-11 20:59:12 +000032 }
33 }
34}