Beispiel #1
0
 protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options)
 {
     base.setJSON(obj, host, options);
     obj["XLength"] = XLength.ToString();
     obj["YLength"] = YLength.ToString();
     obj["ZLength"] = ZLength.ToString();
 }
Beispiel #2
0
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     xml.SetAttribute("XLength", XLength.ToString());
     xml.SetAttribute("YLength", YLength.ToString());
     xml.SetAttribute("ZLength", ZLength.ToString());
 }
 protected override void setJSON(JObject obj, BaseClassIfc host, HashSet <int> processed)
 {
     base.setJSON(obj, host, processed);
     obj["XLength"] = XLength.ToString();
     obj["YLength"] = YLength.ToString();
     obj["ZLength"] = ZLength.ToString();
 }