コード例 #1
0
        } // !Save()

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

            writer.Save(this, filename);
        } // !Save()
コード例 #2
0
        } // !Load()

        /// <summary>
        /// Saves the order response 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)
        {
            OrderResponseWriter writer = new OrderResponseWriter();

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