David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 1 | // |
2 | // TStruct.cs | ||||
3 | // | ||||
4 | // Begin: Aug 19, 2007 | ||||
David Reiss | 0c90f6f | 2008-02-06 22:18:40 +0000 | [diff] [blame] | 5 | // Authors: |
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 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 | using System; | ||||
13 | using System.Collections.Generic; | ||||
14 | using System.Text; | ||||
15 | |||||
16 | namespace Thrift.Protocol | ||||
17 | { | ||||
David Reiss | 46dc629 | 2008-02-06 22:09:58 +0000 | [diff] [blame] | 18 | public struct TStruct |
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 19 | { |
David Reiss | d831a21 | 2009-02-13 03:09:52 +0000 | [diff] [blame^] | 20 | private string name; |
21 | |||||
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 22 | public TStruct(string name) |
David Reiss | c9d06ee | 2008-03-18 18:22:43 +0000 | [diff] [blame] | 23 | :this() |
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 24 | { |
David Reiss | d831a21 | 2009-02-13 03:09:52 +0000 | [diff] [blame^] | 25 | this.name = name; |
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 26 | } |
27 | |||||
28 | public string Name | ||||
29 | { | ||||
David Reiss | d831a21 | 2009-02-13 03:09:52 +0000 | [diff] [blame^] | 30 | get { return name; } |
31 | set { name = value; } | ||||
David Reiss | 7f42bcf | 2008-01-11 20:59:12 +0000 | [diff] [blame] | 32 | } |
33 | } | ||||
34 | } |