Ejemplo n.º 1
0
 private void WriteFile(string path, FRATableFormat tableFormat)
 {
     using (StreamWriter wr = new StreamWriter(path))
     {
         wr.AutoFlush = true;
         wr.WriteLine(FRAResult.ToStringTitles(tableFormat));
         foreach (FRAResult result in m_FRAResults)
         {
             wr.WriteLine(result.ToStringValues(tableFormat));
         }
     }
 }
Ejemplo n.º 2
0
 public string GetDataTable(FRATableFormat tableFormat)
 {
     using (StringWriter wr = new StringWriter())
     {
         wr.WriteLine(FRAResult.ToStringTitles(tableFormat));
         foreach (FRAResult result in m_FRAResults)
         {
             wr.WriteLine(result.ToStringValues(tableFormat));
         }
         return(wr.ToString());
     }
 }