using System; using System.Collections.Generic; using System.Text; namespace LoreSoft.MathExpressions.Metadata { /// /// Specifies an abbreviation for a instance. /// [AttributeUsageAttribute(AttributeTargets.All)] public sealed class AbbreviationAttribute : Attribute { /// /// Initializes a new instance of the class. /// /// The abbreviation text. public AbbreviationAttribute(string text) { _text = text; } private string _text; /// /// Gets the abbreviation text. /// /// The abbreviation text. public string Text { get { return _text; } } /// /// Returns a that represents the current . /// /// /// A that represents the current . /// /// 2 public override string ToString() { return _text; } } }