コード例 #1
0
 public UYPSummaryView(
     ICsvFileService csvFileService,
     IFileNameService fileNameService,
     IUYPSummaryViewDataProvider uypSummaryViewDataProvider,
     IUYPSummaryViewModelBuilder uypSummaryViewModelBuilder,
     IJsonSerializationService jsonSerializationService,
     IFileService fileService,
     IReportZipService reportZipService,
     IReportDataPersistanceService <LearnerLevelViewReport> learnerLevelReportDataPersistanceService,
     IReportDataPersistanceService <UYPSummaryViewReport> summaryReportDataPersistanceService,
     IUYPSummaryViewPersistenceMapper uypSummaryViewPersistenceMapper,
     ILogger logger)
 {
     _csvFileService             = csvFileService;
     _fileNameService            = fileNameService;
     _uypSummaryViewDataProvider = uypSummaryViewDataProvider;
     _uypSummaryViewModelBuilder = uypSummaryViewModelBuilder;
     _jsonSerializationService   = jsonSerializationService;
     _fileService      = fileService;
     _reportZipService = reportZipService;
     _learnerLevelReportDataPersistanceService = learnerLevelReportDataPersistanceService;
     _summaryReportDataPersistanceService      = summaryReportDataPersistanceService;
     _uypSummaryViewPersistenceMapper          = uypSummaryViewPersistenceMapper;
     _logger = logger;
 }
コード例 #2
0
 public FundingSummary(IExcelFileService excelFileService, IFileNameService fileNameService, IFundingSummaryDataProvider fundingSummaryDataProvider, IFundingSummaryModelBuilder fundingSummaryModelBuilder, IRenderService <FundingSummaryReportModel> fundingSummaryRenderService, IReportDataPersistanceService <FundingSummaryReport> persistanceService, IFundingSummaryPersistanceMapper fundingSummaryPersistanceMapper)
 {
     _excelFileService                = excelFileService;
     _fileNameService                 = fileNameService;
     _fundingSummaryDataProvider      = fundingSummaryDataProvider;
     _fundingSummaryModelBuilder      = fundingSummaryModelBuilder;
     _fundingSummaryRenderService     = fundingSummaryRenderService;
     _persistanceService              = persistanceService;
     _fundingSummaryPersistanceMapper = fundingSummaryPersistanceMapper;
 }
 public AppsAdditionalPayment(
     ICsvFileService csvFileService,
     IFileNameService fileNameService,
     IAppsAdditionalPaymentsDataProvider appsAdditionalPaymentsDataProvider,
     IAppsAdditionalPaymentsModelBuilder appsAdditionalPaymentsModelBuilder,
     IReportDataPersistanceService <ReportData.Model.AppsAdditionalPayment> persistanceService,
     IAppsAdditionalPaymentPersistanceMapper appsAdditionalPaymentPersistanceMapper)
 {
     _csvFileService  = csvFileService;
     _fileNameService = fileNameService;
     _appsAdditionalPaymentsDataProvider = appsAdditionalPaymentsDataProvider;
     _appsAdditionalPaymentsModelBuilder = appsAdditionalPaymentsModelBuilder;
     _persistanceService = persistanceService;
     _appsAdditionalPaymentPersistanceMapper = appsAdditionalPaymentPersistanceMapper;
 }
コード例 #4
0
 public AppsCoInvestment(
     ICsvFileService csvFileService,
     IFileNameService fileNameService,
     IAppsCoInvestmentDataProvider appsCoInvestmentDataProvider,
     IAppsCoInvestmentModelBuilder appsCoInvestmentModelBuilder,
     IReportDataPersistanceService <AppsCoInvestmentContribution> reportDataPersistanceService,
     IAppsCoInvestmentPersistenceMapper appsCoInvestmentPersistenceMapper)
 {
     _csvFileService  = csvFileService;
     _fileNameService = fileNameService;
     _appsCoInvestmentDataProvider      = appsCoInvestmentDataProvider;
     _appsCoInvestmentModelBuilder      = appsCoInvestmentModelBuilder;
     _reportDataPersistanceService      = reportDataPersistanceService;
     _appsCoInvestmentPersistenceMapper = appsCoInvestmentPersistenceMapper;
 }
コード例 #5
0
 private Reports.AppsAdditionalPayments.AppsAdditionalPayment NewReport(
     ICsvFileService csvFileService   = null,
     IFileNameService fileNameService = null,
     IAppsAdditionalPaymentsDataProvider appsAdditionalPaymentsDataProvider = null,
     IAppsAdditionalPaymentsModelBuilder appsAdditionalPaymentModelBuilder  = null,
     IReportDataPersistanceService <ReportData.Model.AppsAdditionalPayment> persistanceService = null,
     IAppsAdditionalPaymentPersistanceMapper appsAdditionalPaymentPersistanceMapper            = null)
 {
     return(new Reports.AppsAdditionalPayments.AppsAdditionalPayment(
                csvFileService ?? Mock.Of <ICsvFileService>(),
                fileNameService ?? Mock.Of <IFileNameService>(),
                appsAdditionalPaymentsDataProvider ?? Mock.Of <IAppsAdditionalPaymentsDataProvider>(),
                appsAdditionalPaymentModelBuilder ?? Mock.Of <IAppsAdditionalPaymentsModelBuilder>(),
                persistanceService ?? Mock.Of <IReportDataPersistanceService <ReportData.Model.AppsAdditionalPayment> >(),
                appsAdditionalPaymentPersistanceMapper ?? Mock.Of <IAppsAdditionalPaymentPersistanceMapper>()));
 }
コード例 #6
0
 private Reports.AppsCoInvestment.AppsCoInvestment NewReport(
     ICsvFileService csvFileService   = null,
     IFileNameService fileNameService = null,
     IAppsCoInvestmentDataProvider appsCoInvestmentDataProvider = null,
     IAppsCoInvestmentModelBuilder appsCoInvestmentModelBuilder = null,
     IReportDataPersistanceService <AppsCoInvestmentContribution> reportDataPersistanceService = null,
     IAppsCoInvestmentPersistenceMapper appsCoInvestmentPersistenceMapper = null)
 {
     return(new Reports.AppsCoInvestment.AppsCoInvestment(
                csvFileService ?? Mock.Of <ICsvFileService>(),
                fileNameService ?? Mock.Of <IFileNameService>(),
                appsCoInvestmentDataProvider ?? Mock.Of <IAppsCoInvestmentDataProvider>(),
                appsCoInvestmentModelBuilder ?? Mock.Of <IAppsCoInvestmentModelBuilder>(),
                reportDataPersistanceService ?? Mock.Of <IReportDataPersistanceService <AppsCoInvestmentContribution> >(),
                appsCoInvestmentPersistenceMapper ?? Mock.Of <IAppsCoInvestmentPersistenceMapper>()));
 }
 public AppsMonthly(
     ICsvFileService csvFileService,
     IFileNameService fileNameService,
     IAppsMonthlyPaymentsDataProvider appsMonthlyPaymentsDataProvider,
     IAppsMonthlyModelBuilder appsMonthlyPaymentModelBuilder,
     ILogger logger,
     IReportDataPersistanceService <AppsMonthlyPayment> reportDataPersistanceService,
     IAppsMonthlyPersistenceMapper appsMonthlyPersistenceMapper)
 {
     _csvFileService  = csvFileService;
     _fileNameService = fileNameService;
     _appsMonthlyPaymentsDataProvider = appsMonthlyPaymentsDataProvider;
     _appsMonthlyPaymentModelBuilder  = appsMonthlyPaymentModelBuilder;
     _logger = logger;
     _reportDataPersistanceService = reportDataPersistanceService;
     _appsMonthlyPersistenceMapper = appsMonthlyPersistenceMapper;
 }
コード例 #8
0
 private Reports.AppsMonthly.AppsMonthly NewReport(
     ICsvFileService csvFileService   = null,
     IFileNameService fileNameService = null,
     IAppsMonthlyPaymentsDataProvider appsMonthlyPaymentsDataProvider = null,
     IAppsMonthlyModelBuilder appsMonthlyPaymentModelBuilder          = null,
     ILogger logger = null,
     IReportDataPersistanceService <AppsMonthlyPayment> reportDataPersistanceService = null,
     IAppsMonthlyPersistenceMapper appsMonthlyPersistenceMapper = null)
 {
     return(new Reports.AppsMonthly.AppsMonthly(
                csvFileService ?? Mock.Of <ICsvFileService>(),
                fileNameService ?? Mock.Of <IFileNameService>(),
                appsMonthlyPaymentsDataProvider ?? Mock.Of <IAppsMonthlyPaymentsDataProvider>(),
                appsMonthlyPaymentModelBuilder ?? Mock.Of <IAppsMonthlyModelBuilder>(),
                logger ?? Mock.Of <ILogger>(),
                reportDataPersistanceService ?? Mock.Of <IReportDataPersistanceService <AppsMonthlyPayment> >(),
                appsMonthlyPersistenceMapper ?? Mock.Of <IAppsMonthlyPersistenceMapper>()));
 }