protected void WriteTo(Stream out1) { SingleXmlCellsDocument doc = new SingleXmlCellsDocument(); doc.SetSingleXmlCells(SingleXMLCells); doc.Save(out1); }
protected void WriteTo(Stream out1) { SingleXmlCellsDocument xmlCellsDocument = new SingleXmlCellsDocument(); xmlCellsDocument.SetSingleXmlCells(this.SingleXMLCells); xmlCellsDocument.Save(out1); }
public void ReadFrom(Stream is1) { try { this.SingleXMLCells = SingleXmlCellsDocument.Parse(is1).GetSingleXmlCells(); } catch (XmlException ex) { throw new IOException(ex.Message); } }
public void ReadFrom(Stream is1) { try { SingleXmlCellsDocument doc = SingleXmlCellsDocument.Parse(is1); SingleXMLCells = doc.GetSingleXmlCells(); } catch (XmlException e) { throw new IOException(e.Message); } }