public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { TablePlusLayout s = (TablePlusLayout)obj; info.AddValue("Table", s._table); info.AddValue("Layout", s._layout); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { TablePlusLayout s = null != o ? (TablePlusLayout)o : new TablePlusLayout(); s._table = (Altaxo.Data.DataTable)info.GetValue("Table", s); s._layout = (Altaxo.Worksheet.WorksheetLayout)info.GetValue("Layout", s); return(s); }