mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 18:21:08 +00:00
Read deprecated attribute.
This commit is contained in:
parent
b4c8b64db8
commit
4d49dc26fc
|
@ -67,6 +67,8 @@ namespace Bind.ES
|
||||||
d.Name = name;
|
d.Name = name;
|
||||||
d.Version = node.GetAttribute("version", String.Empty);
|
d.Version = node.GetAttribute("version", String.Empty);
|
||||||
d.Category = node.GetAttribute("category", 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))
|
foreach (XPathNavigator param in node.SelectChildren(XPathNodeType.Element))
|
||||||
|
@ -94,7 +96,7 @@ namespace Bind.ES
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//d.Translate(overrides);
|
|
||||||
delegates.Add(d);
|
delegates.Add(d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue