Esempio n. 1
0
 public ReportGenerator(EmployeeDB employeeDb)
 {
     if (employeeDb == null)
     {
         throw new ArgumentNullException("employeeDb");
     }
     _currentOutputFormat = new ReportNameFirst();
     _employeeDb          = employeeDb;
 }
Esempio n. 2
0
 public void SetOutputFormat(IReportPrint format)
 {
     _currentOutputFormat = format;
 }