Exemplo n.º 1
0
 protected bool HasAnyPrivateFunction(string Name)
 {
     using (XmlNodeList FunctionNodeList = Node.SelectNodes("sectiondef/memberdef"))
     {
         foreach (XmlNode FunctionNode in FunctionNodeList)
         {
             if (FunctionNode.Attributes["kind"].Value == "function" && FunctionNode.Attributes["prot"].Value == "private")
             {
                 XmlNode NameNode = FunctionNode.SelectSingleNode("name");
                 if (NameNode != null && NameNode.InnerText == Name)
                 {
                     return(true);
                 }
             }
         }
     }
     return(false);
 }