From 4d49dc26fc9230c2149f5fa6c71a63fe89de47fd Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 13 Oct 2010 23:06:50 +0000 Subject: [PATCH] Read deprecated attribute. --- Source/Bind/ES/ESGenerator.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Bind/ES/ESGenerator.cs b/Source/Bind/ES/ESGenerator.cs index 97829d4a..a2e67228 100644 --- a/Source/Bind/ES/ESGenerator.cs +++ b/Source/Bind/ES/ESGenerator.cs @@ -67,6 +67,8 @@ namespace Bind.ES d.Name = name; d.Version = node.GetAttribute("version", String.Empty); d.Category = node.GetAttribute("category", String.Empty); + d.DeprecatedVersion = node.GetAttribute("deprecated", String.Empty); + d.Deprecated = !String.IsNullOrEmpty(d.DeprecatedVersion); } foreach (XPathNavigator param in node.SelectChildren(XPathNodeType.Element)) @@ -94,7 +96,7 @@ namespace Bind.ES break; } } - //d.Translate(overrides); + delegates.Add(d); } }