ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/OniSplit/Metadata/Field.cs
Revision: 1114
Committed: Wed Jan 22 14:08:57 2020 UTC (5 years, 8 months ago) by iritscen
File size: 374 byte(s)
Log Message:
Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File Contents

# Content
1 namespace 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 }