Read deprecated attribute.

This commit is contained in:
the_fiddler 2010-10-13 23:06:50 +00:00
parent b4c8b64db8
commit 4d49dc26fc

View file

@ -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);
}
}