public ReferenceDataPopulationService(
     IMessageMapperService messageMapperService,
     IMetaDataRetrievalService metaDataRetrievalService,
     IReferenceDataRetrievalService <IReadOnlyCollection <long>, IReadOnlyCollection <ApprenticeshipEarningsHistory> > appEarningsHistoryRepositoryService,
     IReferenceDataRetrievalService <IReadOnlyCollection <string>, DevolvedPostcodes> devolvedPostcodesRepositoryService,
     IReferenceDataRetrievalService <int, IReadOnlyCollection <EasFundingLine> > easRepositoryService,
     IReferenceDataRetrievalService <IReadOnlyCollection <int>, IReadOnlyCollection <Employer> > employersRepositoryService,
     IReferenceDataRetrievalService <IReadOnlyCollection <string>, IReadOnlyCollection <EPAOrganisation> > epaOrganisationsRepositoryService,
     IReferenceDataRetrievalService <int, IReadOnlyCollection <FcsContractAllocation> > fcsRepositoryService,
     IReferenceDataRetrievalService <IReadOnlyCollection <LARSLearningDeliveryKey>, IReadOnlyCollection <LARSLearningDelivery> > larsLearningDeliveryRepositoryService,
     IReferenceDataRetrievalService <IReadOnlyCollection <int>, IReadOnlyCollection <LARSStandard> > larsStandardRepositoryService,
     IReferenceDataRetrievalService <int, IReadOnlyCollection <McaDevolvedContract> > mcaDevolvedContractRepositoryService,
     IReferenceDataRetrievalService <IReadOnlyCollection <int>, IReadOnlyCollection <Organisation> > organisationsRepositoryService,
     IReferenceDataRetrievalService <IReadOnlyCollection <string>, IReadOnlyCollection <Postcode> > postcodesRepositoryService,
     IReferenceDataRetrievalService <IReadOnlyCollection <long>, IReadOnlyCollection <long> > ulnRepositoryService)
 {
     _messageMapperService                  = messageMapperService;
     _metaDataRetrievalService              = metaDataRetrievalService;
     _appEarningsHistoryRepositoryService   = appEarningsHistoryRepositoryService;
     _devolvedPostcodesRepositoryService    = devolvedPostcodesRepositoryService;
     _easRepositoryService                  = easRepositoryService;
     _employersRepositoryService            = employersRepositoryService;
     _epaOrganisationsRepositoryService     = epaOrganisationsRepositoryService;
     _fcsRepositoryService                  = fcsRepositoryService;
     _larsLearningDeliveryRepositoryService = larsLearningDeliveryRepositoryService;
     _larsStandardRepositoryService         = larsStandardRepositoryService;
     _mcaDevolvedContractRepositoryService  = mcaDevolvedContractRepositoryService;
     _organisationsRepositoryService        = organisationsRepositoryService;
     _postcodesRepositoryService            = postcodesRepositoryService;
     _ulnRepositoryService                  = ulnRepositoryService;
 }
示例#2
0
 private ReferenceDataPopulationService NewService(
     IMessageMapperService messageMapperService         = null,
     IMetaDataRetrievalService metaDataReferenceService = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <long>, IReadOnlyCollection <ApprenticeshipEarningsHistory> > appEarningsHistoryRepositoryService = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <string>, DevolvedPostcodes> devolvedPostcodesRepositoryService = null,
     IReferenceDataRetrievalService <int, IReadOnlyCollection <EasFundingLine> > easRepositoryService = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <int>, IReadOnlyCollection <Employer> > employersRepositoryService = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <string>, IReadOnlyCollection <EPAOrganisation> > epaOrganisationsRepositoryService = null,
     IReferenceDataRetrievalService <int, IReadOnlyCollection <FcsContractAllocation> > fcsRepositoryService = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <LARSLearningDeliveryKey>, IReadOnlyCollection <LARSLearningDelivery> > larsLearningDeliveryRepositoryService = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <int>, IReadOnlyCollection <LARSStandard> > larsStandardRepositoryService  = null,
     IReferenceDataRetrievalService <int, IReadOnlyCollection <McaDevolvedContract> > mcaDevolvedContractRepositoryService          = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <int>, IReadOnlyCollection <Organisation> > organisationsRepositoryService = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <string>, IReadOnlyCollection <Postcode> > postcodesRepositoryService      = null,
     IReferenceDataRetrievalService <IReadOnlyCollection <long>, IReadOnlyCollection <long> > ulnRepositoryService = null)
 {
     return(new ReferenceDataPopulationService(
                messageMapperService,
                metaDataReferenceService,
                appEarningsHistoryRepositoryService,
                devolvedPostcodesRepositoryService,
                easRepositoryService,
                employersRepositoryService,
                epaOrganisationsRepositoryService,
                fcsRepositoryService,
                larsLearningDeliveryRepositoryService,
                larsStandardRepositoryService,
                mcaDevolvedContractRepositoryService,
                organisationsRepositoryService,
                postcodesRepositoryService,
                ulnRepositoryService));
 }