projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33c9fe5
)
[Bind] Added Enum.Obsolete property
author
thefiddler
<stapostol@gmail.com>
Mon, 21 Jul 2014 14:02:56 +0000
(16:02 +0200)
committer
thefiddler
<stapostol@gmail.com>
Mon, 21 Jul 2014 14:02:56 +0000
(16:02 +0200)
Source/Bind/Structures/Enum.cs
patch
|
blob
|
history
diff --git
a/Source/Bind/Structures/Enum.cs
b/Source/Bind/Structures/Enum.cs
index 0c105ec8b1bb7909895db5e6389606db9458efe2..d883d1fa6c8d2f8119c6994217907c9f7c4acaad 100644
(file)
--- a/
Source/Bind/Structures/Enum.cs
+++ b/
Source/Bind/Structures/Enum.cs
@@
-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