source: OniSplit/Metadata/Field.cs@ 1119

Last change on this file since 1119 was 1114, checked in by iritscen, 5 years ago

Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File size: 374 bytes
RevLine 
[1114]1namespace Oni.Metadata
2{
3 internal class Field
4 {
5 private readonly string name;
6 private readonly MetaType type;
7
8 public Field(MetaType type, string name = null)
9 {
10 this.type = type;
11 this.name = name;
12 }
13
14 public MetaType Type => type;
15 public string Name => name;
16 }
17}
Note: See TracBrowser for help on using the repository browser.