Esempio n. 1
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;
 }
Esempio n. 2
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>()));
 }