Example #1
0
        // --- Read

        public static XElement Read(string xmlFile)
        {
            using (XML_Platforms xelPlaform = new XML_Platforms(xmlFile))
            {
                return(xelPlaform.Root);
            }
        }
Example #2
0
        // --- Remove
        public static void RemovePlatform(string platformsFile, string tag, string value)
        {
            using (XML_Platforms xPlat = new XML_Platforms(platformsFile))
            {
                XElement root = XElement.Load(platformsFile);

                /*xPlat.RemoveElemByChild(Tag.Platform, tag, value);
                 * xPlat.RemoveElemByChild(Tag.PlatformFolder, tag, value);*/
            }
        }