Files
NetUnicodeInfo/UnicodeInformation/ValueNameAttribute.cs
T
GoldenCrystal 190597d317 Exported some of the data consolidation logic to a separate builder.
Improved enumerations by including a special ValueName attribute on the fields.
2014-11-02 21:56:24 +01:00

22 lines
425 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnicodeInformation
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
public sealed class ValueNameAttribute : Attribute
{
private readonly string name;
public string Name { get { return name; } }
public ValueNameAttribute(string name)
{
this.name = name;
}
}
}