namespace System.Unicode { /// Declares a name for a specific value. /// /// Since this project tries to stick to the .NET Framework naming conventions, this attribute may be used to indicate standard property names and values names where applicable. /// It may also be of use when aliases are available for a given property or value. /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)] public sealed class ValueNameAttribute : Attribute { private readonly string name; /// The name given to the property or value. public string Name { get { return name; } } /// Initializes an instance of the class . /// The name given to the property or value on which this attribute is to be applied. public ValueNameAttribute(string name) { this.name = name; } } }