A generic class used to take an object and produce XML for it. Some of the Encog persistors make use of this class. The Encog generic persistor makes use of this class.
コード例 #1
0
 /// <summary>
 /// Save the specified object.
 /// </summary>
 /// <param name="obj">The object to save.</param>
 /// <param name="xmlOut">The XML object.</param>
 public void Save(IEncogPersistedObject obj, WriteXML xmlOut)
 {
     Object2XML conv = new Object2XML();
     conv.Save(obj, xmlOut);
 }
コード例 #2
0
        /// <summary>
        /// Save the specified object.
        /// </summary>
        /// <param name="obj">The object to save.</param>
        /// <param name="xmlOut">The XML object.</param>
        public void Save(IEncogPersistedObject obj, WriteXML xmlOut)
        {
            Object2XML conv = new Object2XML();

            conv.Save(obj, xmlOut);
        }