Ejemplo n.º 1
0
 /// <summary>
 /// Create a container for generating a line-based report, defaults to CSV fields and file suffix
 /// </summary>
 /// <param name="loggers">the logger handle, lines are output to the logger as well as the output file</param>
 public TabularReport(LMLoggers loggers)
 {
     this.loggers = loggers;
     Separator    = ',';
     rows         = new Row[0]; // non-null to start
     f            = new ResultsOutputFile(loggers.Logger(LMLoggers.AppSection.App));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a container for generating a line-based report, defaults to CSV fields and file suffix
 /// </summary>
 /// <param name="et">the column header type</param>
 /// <param name="loggers">the logger handle, lines are output to the logger as well as the output file</param>
 public TabularReport(System.Type et, LMLoggers loggers)
 {
     this.loggers = loggers;
     Separator    = ',';
     GenColumns(et);
     rows = new Row[0]; // non-null to start
     f    = new ResultsOutputFile(loggers.Logger(LMLoggers.AppSection.App));
 }
Ejemplo n.º 3
0
 public void CloseOutputFile()
 {
     f.Dispose();
     f = null;
 }