public ClassifyYourWasteInfoMap( IMapWithParameter <NotificationApplication, CodeType, WasteCodeData[]> wasteCodesMapper, IMap <WasteType, WasteTypeData> wasteTypeMapper) { this.wasteCodesMapper = wasteCodesMapper; this.wasteTypeMapper = wasteTypeMapper; }
public GetInternalUserByUserIdHandler(IwsContext context, UserManager <ApplicationUser> userManager, IMapWithParameter <InternalUser, IEnumerable <Claim>, InternalUserData> mapper) { this.context = context; this.userManager = userManager; this.mapper = mapper; }
public GetFinancialGuaranteeDataByNotificationApplicationIdHandler( IMapWithParameter <FinancialGuarantee, UKCompetentAuthority, FinancialGuaranteeData> financialGuaranteeMap, IFinancialGuaranteeRepository financialGuaranteeRepository, INotificationApplicationRepository notificationApplicationRepository) { this.financialGuaranteeMap = financialGuaranteeMap; this.financialGuaranteeRepository = financialGuaranteeRepository; this.notificationApplicationRepository = notificationApplicationRepository; }
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; }
public ChemicalCompositionController(IMediator mediator, IMapWithParameter <WasteTypeData, ICollection <WoodInformationData>, ChemicalCompositionViewModel> chemicalCompositionInformationMap, IAuditService auditService) { this.mediator = mediator; this.chemicalCompositionInformationMap = chemicalCompositionInformationMap; this.auditService = auditService; }
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; }
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; }
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; }
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; }
public ImporterController(IMediator mediator, IMapWithParameter <ImporterViewModel, AddressRecordType, AddAddressBookEntry> addressBookMapper, IAuditService auditService) { this.mediator = mediator; this.addressBookMapper = addressBookMapper; this.auditService = auditService; }
public WasteCodesOverviewMap(IMapWithParameter <NotificationApplication, CodeType, WasteCodeData[]> wasteCodesMapper) { this.wasteCodesMapper = wasteCodesMapper; }
public FinancialGuaranteeDecisionController(IMediator mediator, IMapWithParameter <FinancialGuaranteeDecisionViewModel, Guid, FinancialGuaranteeDecisionRequest> requestMap) { this.mediator = mediator; this.requestMap = requestMap; }
public GetWasteCodesForNotificationHandler(IwsContext context, IMapWithParameter <NotificationApplication, CodeType, WasteCodeData[]> mapper) { this.context = context; this.mapper = mapper; }
public void AddMapper <TSource, TParameter, TTarget>(IMapWithParameter <TSource, TParameter, TTarget> mapper) { mappers.Add(MakeMappingInterface <TTarget>(typeof(TSource), typeof(TParameter)), mapper); }