} // !Save() public void Save(string filename) { OrderResponseWriter writer = new OrderResponseWriter(); writer.Save(this, filename); } // !Save()
} // !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()