Exemplo n.º 1
0
 public XElement SaveToXml(XElement xParent)
 {
     xParent.Add(new XElement("DisplayName", this.DisplayName));
     xParent.Add(XElement.Parse(DataContractHelper.SaveToString(this.Mobius)));
     xParent.Add(new XElement("ViewReflected", this.ViewReflected));
     return(m_twists.SaveToXml(xParent));
 }
Exemplo n.º 2
0
 private XElement SaveConfig(PuzzleConfig config)
 {
     return(XElement.Parse(DataContractHelper.SaveToString(config)));
 }