[Bind] Added Enum.Obsolete property
authorthefiddler <stapostol@gmail.com>
Mon, 21 Jul 2014 14:02:56 +0000 (16:02 +0200)
committerthefiddler <stapostol@gmail.com>
Mon, 21 Jul 2014 14:02:56 +0000 (16:02 +0200)
Source/Bind/Structures/Enum.cs

index 0c105ec..d883d1f 100644 (file)
@@ -69,6 +69,9 @@ namespace Bind.Structures
         {
             ConstantCollection.Add(constant.Name, constant);
         }
+
+        public string Obsolete { get; set; }
+        public bool IsObsolete { get { return !String.IsNullOrEmpty(Obsolete); } }
     }
 
     #endregion