public static Report BuildAvansPlusReport(ISprint sprint, List <string> contents, string reportVersion, DateTime date, EReportFormat format) { IReportBuilder builder = new AvansPlusReportBuilder(); builder.BuildContent(contents); builder.BuildFooter(); builder.BuildHeader(sprint, reportVersion, date); return(builder.GetReport(format)); }
public Report GenerateReport(EReportBranding branding, List <string> contents, string version, DateTime date, EReportFormat format) { return(branding == EReportBranding.Avans ? ReportDirector.BuildAvansReport(this, contents, version, date, format) : ReportDirector.BuildAvansPlusReport(this, contents, version, date, format)); }
public Report GetReport(EReportFormat format) { this._report.Format = format; return(this._report); }