public static void GetMbprojxmls(string moduleName)
        {
            string mbprojPath = ModuleHelper.GetMbprojPath(moduleName);

            if (!File.Exists(mbprojPath))
            {
                return;
            }
            XmlDocument xmlDocument = new XmlDocument();

            xmlDocument.Load(mbprojPath);
            XmlNodeList xmlNodeList = xmlDocument.SelectSingleNode("base").SelectNodes("file");

            if (xmlNodeList == null)
            {
                return;
            }
            foreach (XmlNode xmlNode in xmlNodeList)
            {
                string innerText1 = xmlNode.Attributes["id"].InnerText;
                string innerText2 = xmlNode.Attributes["name"].InnerText;
                MbObjectXmlInformation objectXmlInformation = new MbObjectXmlInformation()
                {
                    Id                = innerText1,
                    Name              = innerText2,
                    ModuleName        = moduleName,
                    GameTypesIncluded = new List <string>()
                };
                XmlResource.MbprojXmls.Add(objectXmlInformation);
            }
        }
        public static void GetXmlListAndApply(string moduleName)
        {
            string      path        = ModuleHelper.GetPath(moduleName);
            XmlDocument xmlDocument = new XmlDocument();

            xmlDocument.Load(path);
            XmlNodeList xmlNodeList = xmlDocument.SelectSingleNode("Module").SelectNodes("Xmls/XmlNode");

            if (xmlNodeList == null)
            {
                return;
            }
            foreach (XmlNode xmlNode1 in xmlNodeList)
            {
                XmlNode       xmlNode2   = xmlNode1.SelectSingleNode("XmlName");
                string        innerText1 = xmlNode2.Attributes["id"].InnerText;
                string        innerText2 = xmlNode2.Attributes["path"].InnerText;
                List <string> stringList = new List <string>();
                XmlNode       xmlNode3   = xmlNode1.SelectSingleNode("IncludedGameTypes");
                if (xmlNode3 != null)
                {
                    foreach (XmlNode childNode in xmlNode3.ChildNodes)
                    {
                        stringList.Add(childNode.Attributes["value"].InnerText);
                    }
                }
                MbObjectXmlInformation objectXmlInformation = new MbObjectXmlInformation()
                {
                    Id                = innerText1,
                    Name              = innerText2,
                    ModuleName        = moduleName,
                    GameTypesIncluded = stringList
                };
                XmlResource.XmlInformationList.Add(objectXmlInformation);
            }
        }