Added statistics to underlying operating system version.

This commit is contained in:
2017-09-11 02:05:07 +01:00
parent db1ce5c15c
commit d4add54b53
4 changed files with 36 additions and 24 deletions

View File

@@ -39,7 +39,7 @@ namespace DiscImageChef.Metadata
public class Stats
{
[XmlArrayItem("OperatingSystem")]
public List<NameValueStats> OperatingSystems { get; set; }
public List<OsStats> OperatingSystems { get; set; }
[XmlArrayItem("Version")]
public List<NameValueStats> Versions { get; set; }
public CommandsStats Commands;
@@ -165,4 +165,14 @@ namespace DiscImageChef.Metadata
[XmlText]
public long Value { get; set; }
}
public class OsStats
{
[XmlAttribute]
public string name { get; set; }
[XmlAttribute]
public string version { get; set; }
[XmlText]
public long Value { get; set; }
}
}