1st commit

This commit is contained in:
2024-03-22 01:35:19 +01:00
parent b224604cd1
commit cd53574fba
18 changed files with 1334 additions and 0 deletions

62
xmlserializetest/Tests.cs Normal file
View File

@@ -0,0 +1,62 @@
using System;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;
namespace xmlserializetest
{
public class Tests
{
[XmlAttribute("xmlns")]
public string Xmlns { get; set; }
[XmlElement("test", Namespace = "")]
public Test[] Test { get; set; }
}
public class Test
{
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("desc")]
public string Desc { get; set; }
[XmlAttribute("testType")]
public string TestType { get; set; }
[XmlElement("summary")]
public Summary Summary { get; set; }
}
public class Summary
{
[XmlElement("section")]
public Section Section { get; set; }
}
public class Section
{
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("indentation")]
public string Indentation { get; set; }
[XmlAttribute("typeName")]
public string TypeName { get; set; }
[XmlElement("heading")]
public XmlCDataSection[] Heading { get; set; }
[XmlElement("desc")]
public Desc[] Desc { get; set; }
}
public class Desc
{
[XmlAttribute("header")]
public string Header { get; set; }
[XmlText]
public string desc { get; set; }
}
}