Esempio n. 1
0
        } // !Save()

        public void Save(string filename)
        {
            BMECatWriter writer = new BMECatWriter();

            writer.Save(this, filename);
        } // !Save()
Esempio n. 2
0
        } // !ProductCatalog()

        /// <summary>
        /// Saves the descriptor object into a stream.
        ///
        /// The stream position will be reset to the original position after writing is finished.
        /// This allows easy further processing of the stream.
        /// </summary>
        /// <param name="stream"></param>
        public void Save(Stream stream)
        {
            BMECatWriter writer = new BMECatWriter();

            writer.Save(this, stream);
        } // !Save()