Exemplo n.º 1
0
 public void Setup()
 {
     reportGeneration = new PDFReportGeneraion();
     employee         = new Employee {
         Id = 1, FirstName = "Jammy", LastName = "Inta"
     };
 }
Exemplo n.º 2
0
        internal ReportGenerationContext(CodeBenchmarkReportFormat reportFormat)
        {
            switch (reportFormat)
            {
            case CodeBenchmarkReportFormat.CSV:
                _reportGeneration = new CSVReportGeneration();
                break;

            case CodeBenchmarkReportFormat.XML:
                _reportGeneration = new XMLReportGeneration();
                break;
            }
        }
Exemplo n.º 3
0
 public ClientGood(IReportGeneration reportGeneration)
 {
     _reportGeneration = reportGeneration;
 }