mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
16 lines
388 B
C#
16 lines
388 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "Pairs", Namespace = "", IsNullable = true)]
|
|
[Serializable]
|
|
public class PairData {
|
|
public PairData() { }
|
|
|
|
public PairData(PairData other) {
|
|
Pairs = other.Pairs.Select(p => new Pair(p)).ToArray();
|
|
}
|
|
|
|
[XmlElement("Pair", IsNullable = true)]
|
|
public Pair[] Pairs { get; set; }
|
|
} |