예제 #1
0
 public ReportGenerator(EmployeeDB employeeDb, ReportFormatEmployees format, IDBHandler dbhandler)
 {
     if (employeeDb == null) throw new ArgumentNullException("employeeDb");
     _currentOutputFormat = format;
     _employeeDb = employeeDb;
     this.dbhandler = dbhandler;
 }
예제 #2
0
 public ReportGenerator(EmployeeDB employeeDb, ReportFormatEmployees format, IDBHandler dbhandler)
 {
     if (employeeDb == null)
     {
         throw new ArgumentNullException("employeeDb");
     }
     _currentOutputFormat = format;
     _employeeDb          = employeeDb;
     this.dbhandler       = dbhandler;
 }