public ExternalDataCachePopulationService(
     IExternalDataCache externalDataCache,
     IEmployersDataMapper employersDataMapper,
     IEpaOrgDataMapper epaOrgDataMapper,
     IFcsDataMapper fcsDataMapper,
     ILarsDataMapper larsDataMapper,
     IOrganisationsDataMapper organisationsDataMapper,
     IPostcodesDataMapper postcodesDataMapper,
     IUlnDataMapper ulnDataMapper,
     IValidationErrorsDataMapper validationErrorsDataMapper,
     IValidationRulesDataMapper validationRulesDataMapper)
 {
     _externalDataCache          = externalDataCache;
     _employersDataMapper        = employersDataMapper;
     _epaOrgDataMapper           = epaOrgDataMapper;
     _fcsDataMapper              = fcsDataMapper;
     _larsDataMapper             = larsDataMapper;
     _organisationsDataMapper    = organisationsDataMapper;
     _postcodesDataMapper        = postcodesDataMapper;
     _ulnDataMapper              = ulnDataMapper;
     _validationErrorsDataMapper = validationErrorsDataMapper;
     _validationRulesDataMapper  = validationRulesDataMapper;
 }
Exemplo n.º 2
0
 private ExternalDataCachePopulationService NewService(
     IExternalDataCache externalDataCache                   = null,
     IEmployersDataMapper employersDataMapper               = null,
     IEpaOrgDataMapper epaOrgDataMapper                     = null,
     IFcsDataMapper fcsDataMapper                           = null,
     ILarsDataMapper larsDataMapper                         = null,
     IOrganisationsDataMapper organisationsDataMapper       = null,
     IPostcodesDataMapper postcodesDataMapper               = null,
     IUlnDataMapper ulnDataMapper                           = null,
     IValidationErrorsDataMapper validationErrorsDataMapper = null,
     IValidationRulesDataMapper validationRulesDataMapper   = null)
 {
     return(new ExternalDataCachePopulationService(
                externalDataCache,
                employersDataMapper,
                epaOrgDataMapper,
                fcsDataMapper,
                larsDataMapper,
                organisationsDataMapper,
                postcodesDataMapper,
                ulnDataMapper,
                validationErrorsDataMapper,
                validationRulesDataMapper));
 }