1st commit
This commit is contained in:
44
xmlserializetest/Table.cs
Normal file
44
xmlserializetest/Table.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace xmlserializetest
|
||||
{
|
||||
public class Table
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name { get; set; }
|
||||
[XmlAttribute("useMonospaceFont")]
|
||||
public string UseMonospaceFont { get; set; }
|
||||
[XmlAttribute("headersVisible")]
|
||||
public string HeadersVisible { get; set; }
|
||||
[XmlAttribute("transientColumnIndex")]
|
||||
public string TransientColumnIndex { get; set; }
|
||||
[XmlAttribute("xmlns")]
|
||||
public string Xmlns { get; set; }
|
||||
|
||||
[XmlElement("rows")]
|
||||
public Rows Rows { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class Rows
|
||||
{
|
||||
[XmlElement("row")]
|
||||
public Row[] Row { get; set; }
|
||||
}
|
||||
|
||||
public class Row
|
||||
{
|
||||
[XmlElement("cell")]
|
||||
public Cell[] Cell { get; set; }
|
||||
}
|
||||
|
||||
public class Cell
|
||||
{
|
||||
[XmlText]
|
||||
public string cell;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user