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));
 }
Пример #3
0
 private DesktopReferenceDataPopulationService NewService(
     IMessageMapperService messageMapperService = null,
     IDesktopReferenceDataMapperService desktopReferenceDataMapperService = null)
 {
     return(new DesktopReferenceDataPopulationService(
                messageMapperService,
                desktopReferenceDataMapperService,
                Mock.Of <ILogger>()));
 }
 public DesktopReferenceDataPopulationService(
     IMessageMapperService messageMapperService,
     IDesktopReferenceDataMapperService desktopReferenceDataRootMapperService,
     ILogger logger)
 {
     _messageMapperService = messageMapperService;
     _desktopReferenceDataRootMapperService = desktopReferenceDataRootMapperService;
     _logger = logger;
 }