Example #1
0
 public ClassifyYourWasteInfoMap(
     IMapWithParameter <NotificationApplication, CodeType, WasteCodeData[]> wasteCodesMapper,
     IMap <WasteType, WasteTypeData> wasteTypeMapper)
 {
     this.wasteCodesMapper = wasteCodesMapper;
     this.wasteTypeMapper  = wasteTypeMapper;
 }
Example #2
0
 public GetInternalUserByUserIdHandler(IwsContext context,
                                       UserManager <ApplicationUser> userManager,
                                       IMapWithParameter <InternalUser, IEnumerable <Claim>, InternalUserData> mapper)
 {
     this.context     = context;
     this.userManager = userManager;
     this.mapper      = mapper;
 }
Example #3
0
 public GetFinancialGuaranteeDataByNotificationApplicationIdHandler(
     IMapWithParameter <FinancialGuarantee, UKCompetentAuthority, FinancialGuaranteeData> financialGuaranteeMap,
     IFinancialGuaranteeRepository financialGuaranteeRepository,
     INotificationApplicationRepository notificationApplicationRepository)
 {
     this.financialGuaranteeMap             = financialGuaranteeMap;
     this.financialGuaranteeRepository      = financialGuaranteeRepository;
     this.notificationApplicationRepository = notificationApplicationRepository;
 }
Example #4
0
 public GetShipmentsReportHandler(IShipmentsRepository shipmentsRepository,
                                  IMapWithParameter <Shipment, UKCompetentAuthority, ShipmentData> mapper,
                                  IUserContext userContext,
                                  Domain.IInternalUserRepository internalUserRepository)
 {
     this.shipmentsRepository = shipmentsRepository;
     this.mapper                 = mapper;
     this.userContext            = userContext;
     this.internalUserRepository = internalUserRepository;
 }
Example #5
0
 public ChemicalCompositionController(IMediator mediator,
                                      IMapWithParameter <WasteTypeData,
                                                         ICollection <WoodInformationData>,
                                                         ChemicalCompositionViewModel> chemicalCompositionInformationMap,
                                      IAuditService auditService)
 {
     this.mediator = mediator;
     this.chemicalCompositionInformationMap = chemicalCompositionInformationMap;
     this.auditService = auditService;
 }
Example #6
0
 public EditNonObligatedHandler(IWeeeAuthorization authorization,
                                INonObligatedDataAccess nonObligatedDataAccess,
                                IReturnDataAccess returnDataAccess,
                                IMapWithParameter <EditNonObligated, Return, IEnumerable <Tuple <Guid, decimal?> > > mapper)
 {
     this.authorization          = authorization;
     this.nonObligatedDataAccess = nonObligatedDataAccess;
     this.mapper           = mapper;
     this.returnDataAccess = returnDataAccess;
 }
 public GetExportNotificationsReportHandler(IExportNotificationsRepository exportNotificationsRepository,
                                            IMapWithParameter <DataExportNotification, UKCompetentAuthority, DataExportNotificationData> mapper,
                                            IUserContext userContext,
                                            Domain.IInternalUserRepository internalUserRepository)
 {
     this.exportNotificationsRepository = exportNotificationsRepository;
     this.mapper                 = mapper;
     this.userContext            = userContext;
     this.internalUserRepository = internalUserRepository;
 }
 public AddNonObligatedHandler(IWeeeAuthorization authorization,
                               INonObligatedDataAccess nonObligatedDataAccess,
                               IReturnDataAccess returnDataAccess,
                               IMapWithParameter <AddNonObligated, Return, IEnumerable <NonObligatedWeee> > mapper)
 {
     this.authorization          = authorization;
     this.nonObligatedDataAccess = nonObligatedDataAccess;
     this.returnDataAccess       = returnDataAccess;
     this.mapper = mapper;
 }
 public GetCurrentFinancialGuaranteeDetailsHandler(
     IMapWithParameter <FinancialGuarantee, UKCompetentAuthority, FinancialGuaranteeData> financialGuaranteeMap,
     IFinancialGuaranteeRepository financialGuaranteeRepository,
     INotificationApplicationRepository notificationApplicationRepository,
     INotificationAssessmentRepository assessmentRepository)
 {
     this.financialGuaranteeMap             = financialGuaranteeMap;
     this.financialGuaranteeRepository      = financialGuaranteeRepository;
     this.notificationApplicationRepository = notificationApplicationRepository;
     this.assessmentRepository = assessmentRepository;
 }
Example #10
0
 public JourneyInfoMap(
     IwsContext context,
     IMapWithParameter <TransportRoute, Guid, StateOfExportWithTransportRouteData> transportRouteMap,
     IMap <TransportRoute, EntryCustomsOfficeAddData> customsOfficeEntryMap,
     IMap <TransportRoute, ExitCustomsOfficeAddData> customsOfficeExitMap)
 {
     this.context               = context;
     this.transportRouteMap     = transportRouteMap;
     this.customsOfficeEntryMap = customsOfficeEntryMap;
     this.customsOfficeExitMap  = customsOfficeExitMap;
 }
Example #11
0
 public GetWhatToDoNextPaymentDataForNotificationHandler(IwsContext context,
                                                         IMapWithParameter <NotificationApplication, UnitedKingdomCompetentAuthority, WhatToDoNextPaymentData> map,
                                                         INotificationChargeCalculator chargeCalculator,
                                                         INotificationTransactionCalculator transactionCalculator,
                                                         INotificationAssessmentRepository assessmentRepository)
 {
     this.context               = context;
     this.map                   = map;
     this.chargeCalculator      = chargeCalculator;
     this.transactionCalculator = transactionCalculator;
     this.assessmentRepository  = assessmentRepository;
 }
 public ExporterController(IMediator mediator, IMapWithParameter<ExporterViewModel, AddressRecordType, AddAddressBookEntry> addressBookMapper)
 {
     this.mediator = mediator;
     this.addressBookMapper = addressBookMapper;
 }
Example #13
0
 public GetStateOfExportWithTransportRouteDataByNotificationIdHandler(ITransportRouteRepository repository,
                                                                      IMapWithParameter <TransportRoute, Guid, StateOfExportWithTransportRouteData> transportRouteMap)
 {
     this.repository        = repository;
     this.transportRouteMap = transportRouteMap;
 }
 public FinancialGuaranteeDecisionController(IMediator mediator, 
     IMapWithParameter<FinancialGuaranteeDecisionViewModel, Guid, FinancialGuaranteeDecisionRequest> requestMap)
 {
     this.mediator = mediator;
     this.requestMap = requestMap;
 }
Example #15
0
 public ImporterController(IMediator mediator, IMapWithParameter <ImporterViewModel, AddressRecordType, AddAddressBookEntry> addressBookMapper, IAuditService auditService)
 {
     this.mediator          = mediator;
     this.addressBookMapper = addressBookMapper;
     this.auditService      = auditService;
 }
Example #16
0
 public WasteCodesOverviewMap(IMapWithParameter <NotificationApplication, CodeType, WasteCodeData[]> wasteCodesMapper)
 {
     this.wasteCodesMapper = wasteCodesMapper;
 }
Example #17
0
 public FinancialGuaranteeDecisionController(IMediator mediator,
                                             IMapWithParameter <FinancialGuaranteeDecisionViewModel, Guid, FinancialGuaranteeDecisionRequest> requestMap)
 {
     this.mediator   = mediator;
     this.requestMap = requestMap;
 }
Example #18
0
 public GetWasteCodesForNotificationHandler(IwsContext context,
                                            IMapWithParameter <NotificationApplication, CodeType, WasteCodeData[]> mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Example #19
0
 public void AddMapper <TSource, TParameter, TTarget>(IMapWithParameter <TSource, TParameter, TTarget> mapper)
 {
     mappers.Add(MakeMappingInterface <TTarget>(typeof(TSource), typeof(TParameter)), mapper);
 }