public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { EquallySpacedColumn s = (EquallySpacedColumn)obj; info.AddValue("StartValue", s.m_Start); info.AddValue("Increment", s.m_Increment); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { EquallySpacedColumn s = null != o ? (EquallySpacedColumn)o : new EquallySpacedColumn(0, 1); s.m_Start = info.GetDouble("StartValue"); s.m_Increment = info.GetDouble("Increment"); return(s); }