예제 #1
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                GraphController    wc = (GraphController)info.GetValue("Controller", parent);
                SDGraphViewContent s  = null != o ? (SDGraphViewContent)o : new SDGraphViewContent(wc);

                s._controller = wc;
                return(s);
            }
예제 #2
0
            public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
            {
                SDGraphViewContent s = (SDGraphViewContent)obj;

                info.AddValue("Controller", s._controller);
            }