Ejemplo n.º 1
0
 /// <summary>
 /// Writes matchlist to the xml file
 /// </summary>
 /// <returns>Return value indicates whether file writing succeeded</returns>
 public bool WriteToXml()
 {
     if (!String.IsNullOrEmpty(_pathToFile))
     {
         FileProcessor fileProcessor = new FileProcessor(_pathToFile);
         return fileProcessor.WriteXmlFile(_matchList);
     }
     return false;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Writes matchlist to the xml file
 /// </summary>
 /// <param name="fStream">Stream to the file</param>
 /// <returns>Return value indicates whether file writing succeeded</returns>
 public bool WriteToXml(FileStream fStream)
 {
     _pathToFile = fStream.Name;
     FileProcessor fileProcessor = new FileProcessor(fStream);
     return fileProcessor.WriteXmlFile(_matchList);
 }