public CrossYearPayments(IExcelFileService excelFileService, IFileNameService fileNameService, ICrossYearModelBuilder crossYearModelBuilder, ICrossYearDataProvider crossYearDataProvider, ICrossYearRenderService crossYearRenderService)
 {
     _excelFileService       = excelFileService;
     _fileNameService        = fileNameService;
     _crossYearModelBuilder  = crossYearModelBuilder;
     _crossYearDataProvider  = crossYearDataProvider;
     _crossYearRenderService = crossYearRenderService;
 }
예제 #2
0
 private Reports.CrossYearPayments.CrossYearPayments NewReport(IExcelFileService excelFileService = null, IFileNameService fileNameService = null, ICrossYearModelBuilder modelBuilder = null, ICrossYearRenderService crossYearRenderService = null, ICrossYearDataProvider crossYearDataProvider = null)
 {
     return(new Reports.CrossYearPayments.CrossYearPayments(
                excelFileService ?? Mock.Of <IExcelFileService>(),
                fileNameService ?? Mock.Of <IFileNameService>(),
                modelBuilder ?? Mock.Of <ICrossYearModelBuilder>(),
                crossYearDataProvider ?? Mock.Of <ICrossYearDataProvider>(),
                crossYearRenderService ?? Mock.Of <ICrossYearRenderService>()));
 }