MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / IsXmlHasElement

Method IsXmlHasElement

TexturedFontEditor/Helper.cs:25–33  ·  view source on GitHub ↗
(XmlElement Xml, string TagName)

Source from the content-addressed store, hash-verified

23 }
24
25 public static bool IsXmlHasElement(XmlElement Xml, string TagName)
26 {
27 XmlNodeList tList = Xml.GetElementsByTagName(TagName);
28
29 if (tList.Count == 0)
30 return false;
31 else
32 return true;
33 }
34
35 public static XmlElement GetFirstElement(XmlElement Xml, string TagName)
36 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected