/// <summary> /// </summary> private XmlNode GetHardCodedXmlNodes() { string[] lines = new string[7]; lines[0] = "TaskGroup:\n"; lines[1] = " Task1:\n"; lines[2] = " Label: First Item"; lines[3] = " Task2:\n"; lines[4] = " Label: Second Item"; lines[5] = " Task3:\n"; lines[6] = " Label: Third Item"; TYml2Xml parser = new TYml2Xml(lines); XmlNode xmlnode = parser.ParseYML2TaskListRoot(); return(xmlnode); }
/// <summary> /// </summary> private XmlNode GetHardCodedXmlNodes() { string[] lines = new string[7]; lines[0] = "TaskGroup:\n"; lines[1] = " Task1:\n"; lines[2] = " Label: First Item"; lines[3] = " Task2:\n"; lines[4] = " Label: Second Item"; lines[5] = " Task3:\n"; lines[6] = " Label: Third Item"; TYml2Xml parser = new TYml2Xml(lines); XmlNode xmlnode = parser.ParseYML2TaskListRoot(); return xmlnode; }