/// <summary>
 /// Selects a Report Writter.
 /// </summary>
 public static ReportWritter GetReportWritter(System.IO.StreamWriter file, ReportFormats reportFormat = ReportFormats.ExcelReport)
 {
     ReportWritter reportWritter;
     if (reportFormat == ReportFormats.ExcelReport)
     {
         reportWritter = new ExcelWritter(file);
     }
     else
     {
         reportWritter = new CSVWritter(file);
     }
     return reportWritter;
 }
        /// <summary>
        /// Selects a Report Writter.
        /// </summary>
        public static ReportWritter GetReportWritter(System.IO.StreamWriter file, ReportFormats reportFormat = ReportFormats.ExcelReport)
        {
            ReportWritter reportWritter;

            if (reportFormat == ReportFormats.ExcelReport)
            {
                reportWritter = new ExcelWritter(file);
            }
            else
            {
                reportWritter = new CSVWritter(file);
            }
            return(reportWritter);
        }