OSDN Git Service

Merge branch 'vgd' of into Split_renderers
[automap/automap.git] / Automap / Data / DisplayNameAttribute.cs
diff --git a/Automap/Data/DisplayNameAttribute.cs b/Automap/Data/DisplayNameAttribute.cs
new file mode 100644 (file)
index 0000000..c767fb3
--- /dev/null
@@ -0,0 +1,17 @@
+using System;
+using System.Reflection;
+
+namespace Automap
+{
+       [AttributeUsage(AttributeTargets.Field)]
+       public class DisplayNameAttribute : Attribute
+       {
+               public string name;
+               public byte order;
+               public DisplayNameAttribute(byte order, string name)
+               {
+                       this.order = order;
+                       this.name = name;
+               }
+       }
+}
\ No newline at end of file