コード例 #1
0
 public GenerateBulkCreditRequestMapHelper(
     IDateTimeProvider dateTimeProvider,
     IAdapterConfiguration adapterConfiguration)
 {
     this.dateTimeProvider = dateTimeProvider;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #2
0
 public BatchCheckThirdPartyRequestMapHelper(
     IDateTimeProvider dateTimeProvider,
     IAdapterConfiguration adapterConfiguration)
 {
     this.dateTimeProvider = dateTimeProvider;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #3
0
 public GenerateCorrespondingVoucherRequestMapHelper(
     IDateTimeProvider dateTimeProvider,
     IAdapterConfiguration adapterConfiguration)
 {
     this.dateTimeProvider = dateTimeProvider;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #4
0
 public BatchCodelineRequestMapHelper(
     IDateTimeProvider dateTimeProvider,
     IAdapterConfiguration adapterConfiguration)
 {
     this.dateTimeProvider = dateTimeProvider;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #5
0
        public void TestInitialize()
        {
            adapterConfig = new DictionaryAdapterFactory().GetAdapter<IAdapterConfiguration>(ConfigurationManager.AppSettings);
            fileSystem = new MockFileSystem();

            imageDirectory = string.Format(adapterConfig.PackageSourceDirectory, JobIdentifier);
            targetDirectory = string.Format(@"{0}\{1}", adapterConfig.ImagePath, BatchNumber.Substring(0, 5));
        }
コード例 #6
0
ファイル: ServiceRunner.cs プロジェクト: jhonner72/plat
 public ServiceRunner(
     IOcrProcessingService carService,
     IAdapterConfiguration adapterConfiguration,
     IQueueConsumer<RecogniseBatchCourtesyAmountRequest> carRequestQueueConsumer)
 {
     this.adapterConfiguration = adapterConfiguration;
     this.carRequestQueueConsumer = carRequestQueueConsumer;
     this.carService = carService;
 }
コード例 #7
0
 public CorrectCodelineResponsePollingJob(
     ILifetimeScope component,
     IExchangePublisher<CorrectBatchCodelineResponse> responseExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component = component;
     this.dbContext = dbContext;
     this.responseExchange = responseExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #8
0
ファイル: ServiceRunner.cs プロジェクト: jhonner72/plat
 public ServiceRunner(
     IA2IAService carService,
     IAdapterConfiguration adapterConfiguration,
     IQueueConsumer <RecogniseBatchCourtesyAmountRequest> carRequestQueueConsumer,
     IExchangePublisher <RecogniseBatchCourtesyAmountResponse> carResponseExchangePublisher)
 {
     this.adapterConfiguration         = adapterConfiguration;
     this.carRequestQueueConsumer      = carRequestQueueConsumer;
     this.carResponseExchangePublisher = carResponseExchangePublisher;
     this.carService = carService;
 }
コード例 #9
0
 public GetVouchersInformationRequestPollingJob(
     ILifetimeScope component,
     IExchangePublisher<GetVouchersInformationRequest> requestExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component = component;
     this.dbContext = dbContext;
     this.requestExchange = requestExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #10
0
 public ValidateTransactionResponsePollingJob(
     ILifetimeScope component,
     IExchangePublisher<ValidateBatchTransactionResponse> responseExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component = component;
     this.dbContext = dbContext;
     this.responseExchange = responseExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #11
0
 public CheckThirdPartyResponsePollingJob(
     ILifetimeScope component,
     IExchangePublisher<CheckThirdPartyBatchResponse> responseExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component = component;
     this.dbContext = dbContext;
     this.responseExchange = responseExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #12
0
 public CorrectTransactionResponsePollingJob(
     ILifetimeScope component,
     IExchangePublisher <CorrectBatchTransactionResponse> responseExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component            = component;
     this.dbContext            = dbContext;
     this.responseExchange     = responseExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #13
0
 public GenerateCorrespondingVoucherResponsePollingJob(
     ILifetimeScope component,
     IExchangePublisher <GenerateCorrespondingVoucherResponse> responseExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component            = component;
     this.dbContext            = dbContext;
     this.responseExchange     = responseExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #14
0
 public GenerateCorrespondingVoucherResponsePollingJob(
     ILifetimeScope component,
     IExchangePublisher<GenerateCorrespondingVoucherResponse> responseExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component = component;
     this.dbContext = dbContext;
     this.responseExchange = responseExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #15
0
 public CheckThirdPartyResponsePollingJob(
     ILifetimeScope component,
     IExchangePublisher <CheckThirdPartyBatchResponse> responseExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component            = component;
     this.dbContext            = dbContext;
     this.responseExchange     = responseExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #16
0
ファイル: ServiceRunner.cs プロジェクト: jhonner72/plat
 public ServiceRunner(
     IA2IAService carService,
     IAdapterConfiguration adapterConfiguration, 
     IQueueConsumer<RecogniseBatchCourtesyAmountRequest> carRequestQueueConsumer, 
     IExchangePublisher<RecogniseBatchCourtesyAmountResponse> carResponseExchangePublisher)
 {
     this.adapterConfiguration = adapterConfiguration;
     this.carRequestQueueConsumer = carRequestQueueConsumer;
     this.carResponseExchangePublisher = carResponseExchangePublisher;
     this.carService = carService;
 }
コード例 #17
0
 public ValidateCodelineResponsePollingJob(
     ILifetimeScope component,
     IExchangePublisher <ValidateBatchCodelineResponse> responseExchange,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component            = component;
     this.dbContext            = dbContext;
     this.responseExchange     = responseExchange;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #18
0
ファイル: ServiceRunner.cs プロジェクト: jhonner72/plat
 public ServiceRunner(
     IAdapterConfiguration adapterConfig,
     HttpConfiguration httpConfig,
     IExchangePublisher<JobRequest> jobExchangePublisher,
     IExchangePublisher<string> copyImagesExchangePublisher,
     IExchangePublisher<Incident> incidentExchangePublisher)
 {
     this.adapterConfig = adapterConfig;
     this.httpConfig = httpConfig;
     this.jobExchangePublisher = jobExchangePublisher;
     this.copyImagesExchangePublisher = copyImagesExchangePublisher;
     this.incidentExchangePublisher = incidentExchangePublisher;
 }
コード例 #19
0
 public ServiceRunner(
     IAdapterConfiguration adapterConfig,
     HttpConfiguration httpConfig,
     IExchangePublisher <JobRequest> jobExchangePublisher,
     IExchangePublisher <string> copyImagesExchangePublisher,
     IExchangePublisher <Incident> incidentExchangePublisher)
 {
     this.adapterConfig               = adapterConfig;
     this.httpConfig                  = httpConfig;
     this.jobExchangePublisher        = jobExchangePublisher;
     this.copyImagesExchangePublisher = copyImagesExchangePublisher;
     this.incidentExchangePublisher   = incidentExchangePublisher;
 }
コード例 #20
0
 public GenerateCorrespondingVoucherRequestProcessor(
     ILifetimeScope component,
     IMapper <GenerateCorrespondingVoucherRequest, DipsQueue> dipsQueueMapper,
     IMapper <GenerateCorrespondingVoucherRequest, IEnumerable <DipsNabChq> > dipsVoucherMapper,
     IMapper <GenerateCorrespondingVoucherRequest, IEnumerable <DipsDbIndex> > dipsDbIndexMapper,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component            = component;
     this.dbContext            = dbContext;
     this.dipsQueueMapper      = dipsQueueMapper;
     this.dipsVoucherMapper    = dipsVoucherMapper;
     this.dipsDbIndexMapper    = dipsDbIndexMapper;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #21
0
 public GenerateBulkCreditRequestProcessor(
     ILifetimeScope component,
     IMapper <VoucherInformation[], DipsQueue> dipsQueueMapper,
     IMapper <VoucherInformation[], IEnumerable <DipsNabChq> > dipsVoucherMapper,
     IMapper <VoucherInformation[], IEnumerable <DipsDbIndex> > dipsDbIndexMapper,
     IScannedBatchHelper scannedBatchHelper,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component            = component;
     this.dbContext            = dbContext;
     this.dipsQueueMapper      = dipsQueueMapper;
     this.dipsVoucherMapper    = dipsVoucherMapper;
     this.dipsDbIndexMapper    = dipsDbIndexMapper;
     this.scannedBatchHelper   = scannedBatchHelper;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #22
0
 public CorrectCodelineRequestProcessor(
     ILifetimeScope component,
     IMapper <CorrectBatchCodelineRequest, DipsQueue> dipsQueueMapper,
     IMapper <CorrectBatchCodelineRequest, IEnumerable <DipsNabChq> > dipsVoucherMapper,
     IMapper <CorrectBatchCodelineRequest, IEnumerable <DipsDbIndex> > dipsDbIndexMapper,
     IImageMergeHelper imageMergeHelper,
     IAdapterConfiguration adapterConfiguration,
     IDipsDbContext dbContext = null)
 {
     this.component            = component;
     this.dbContext            = dbContext;
     this.dipsQueueMapper      = dipsQueueMapper;
     this.dipsVoucherMapper    = dipsVoucherMapper;
     this.dipsDbIndexMapper    = dipsDbIndexMapper;
     this.imageMergeHelper     = imageMergeHelper;
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #23
0
ファイル: ServiceRunner.cs プロジェクト: jhonner72/plat
 public ServiceRunner(
     IAdapterConfiguration adapterConfig,
     IQueueConsumer<ValidateBatchCodelineRequest> validateCodelineRequestQueue,
     IExchangePublisher<ValidateBatchCodelineResponse> validateCodelineExchange,
     IQueueConsumer<CorrectBatchCodelineRequest> correctCodelineRequestQueue,
     IExchangePublisher<CorrectBatchCodelineResponse> correctCodelineExchange,
     IQueueConsumer<ValidateBatchTransactionRequest> validateTransactionRequestQueue,
     IExchangePublisher<ValidateBatchTransactionResponse> validateTransactionExchange,
     IQueueConsumer<CorrectBatchTransactionRequest> correctTransactionRequestQueue,
     IExchangePublisher<CorrectBatchTransactionResponse> correctTransactionExchange,
     IQueueConsumer<CheckThirdPartyBatchRequest> checkThirdPartyRequestQueue,
     IExchangePublisher<CheckThirdPartyBatchResponse> checkThirdPartyExchange,
     IQueueConsumer<GenerateCorrespondingVoucherRequest> generateCorrespondingVoucherRequestQueue,
     IExchangePublisher<GenerateCorrespondingVoucherResponse> generateCorrespondingVoucherExchange,
     IExchangePublisher<GetVouchersInformationRequest> getVoucherInformationRequestExchange,
     IQueueConsumer<GetVouchersInformationResponse> getVoucherInformationResponseQueue,
     IQueueConsumer<GenerateBatchBulkCreditRequest> generateBulkCreditRequestQueue,
     IExchangePublisher<GenerateBatchBulkCreditResponse> generateBulkCreditResponseExchange,
     IJobFactory jobFactory,
     IScheduler scheduler,
     IQuartzConfiguration quartzConfiguration)
 {
     this.adapterConfig = adapterConfig;
     this.validateCodelineRequestQueue = validateCodelineRequestQueue;
     this.validateCodelineExchange = validateCodelineExchange;
     this.correctCodelineRequestQueue = correctCodelineRequestQueue;
     this.correctCodelineExchange = correctCodelineExchange;
     this.validateTransactionRequestQueue = validateTransactionRequestQueue;
     this.validateTransactionExchange = validateTransactionExchange;
     this.correctTransactionRequestQueue = correctTransactionRequestQueue;
     this.correctTransactionExchange = correctTransactionExchange;
     this.checkThirdPartyRequestQueue = checkThirdPartyRequestQueue;
     this.checkThirdPartyExchange = checkThirdPartyExchange;
     this.generateCorrespondingVoucherRequestQueue = generateCorrespondingVoucherRequestQueue;
     this.generateCorrespondingVoucherExchange = generateCorrespondingVoucherExchange;
     this.getVoucherInformationRequestExchange = getVoucherInformationRequestExchange;
     this.getVoucherInformationResponseQueue = getVoucherInformationResponseQueue;
     this.generateBulkCreditRequestQueue = generateBulkCreditRequestQueue;
     this.generateBulkCreditResponseExchange = generateBulkCreditResponseExchange;
     this.jobFactory = jobFactory;
     this.scheduler = scheduler;
     this.quartzConfiguration = quartzConfiguration;
 }
コード例 #24
0
 public ServiceRunner(
     IAdapterConfiguration adapterConfig,
     IQueueConsumer <ValidateBatchCodelineRequest> validateCodelineRequestQueue,
     IExchangePublisher <ValidateBatchCodelineResponse> validateCodelineExchange,
     IQueueConsumer <CorrectBatchCodelineRequest> correctCodelineRequestQueue,
     IExchangePublisher <CorrectBatchCodelineResponse> correctCodelineExchange,
     IQueueConsumer <ValidateBatchTransactionRequest> validateTransactionRequestQueue,
     IExchangePublisher <ValidateBatchTransactionResponse> validateTransactionExchange,
     IQueueConsumer <CorrectBatchTransactionRequest> correctTransactionRequestQueue,
     IExchangePublisher <CorrectBatchTransactionResponse> correctTransactionExchange,
     IQueueConsumer <CheckThirdPartyBatchRequest> checkThirdPartyRequestQueue,
     IExchangePublisher <CheckThirdPartyBatchResponse> checkThirdPartyExchange,
     IQueueConsumer <GenerateCorrespondingVoucherRequest> generateCorrespondingVoucherRequestQueue,
     IExchangePublisher <GenerateCorrespondingVoucherResponse> generateCorrespondingVoucherExchange,
     IExchangePublisher <GetVouchersInformationRequest> getVoucherInformationRequestExchange,
     IQueueConsumer <GetVouchersInformationResponse> getVoucherInformationResponseQueue,
     IQueueConsumer <GenerateBatchBulkCreditRequest> generateBulkCreditRequestQueue,
     IExchangePublisher <GenerateBatchBulkCreditResponse> generateBulkCreditResponseExchange,
     IJobFactory jobFactory,
     IScheduler scheduler,
     IQuartzConfiguration quartzConfiguration)
 {
     this.adapterConfig = adapterConfig;
     this.validateCodelineRequestQueue             = validateCodelineRequestQueue;
     this.validateCodelineExchange                 = validateCodelineExchange;
     this.correctCodelineRequestQueue              = correctCodelineRequestQueue;
     this.correctCodelineExchange                  = correctCodelineExchange;
     this.validateTransactionRequestQueue          = validateTransactionRequestQueue;
     this.validateTransactionExchange              = validateTransactionExchange;
     this.correctTransactionRequestQueue           = correctTransactionRequestQueue;
     this.correctTransactionExchange               = correctTransactionExchange;
     this.checkThirdPartyRequestQueue              = checkThirdPartyRequestQueue;
     this.checkThirdPartyExchange                  = checkThirdPartyExchange;
     this.generateCorrespondingVoucherRequestQueue = generateCorrespondingVoucherRequestQueue;
     this.generateCorrespondingVoucherExchange     = generateCorrespondingVoucherExchange;
     this.getVoucherInformationRequestExchange     = getVoucherInformationRequestExchange;
     this.getVoucherInformationResponseQueue       = getVoucherInformationResponseQueue;
     this.generateBulkCreditRequestQueue           = generateBulkCreditRequestQueue;
     this.generateBulkCreditResponseExchange       = generateBulkCreditResponseExchange;
     this.jobFactory          = jobFactory;
     this.scheduler           = scheduler;
     this.quartzConfiguration = quartzConfiguration;
 }
コード例 #25
0
 public CorrectTransactionResponsePollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange) : base(configuration, log, exchange)
 {
 }
コード例 #26
0
ファイル: PollingJob.cs プロジェクト: jhonner72/plat
 protected PollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange)
 {
     Configuration = configuration;
     Log           = log;
     Exchange      = exchange;
 }
コード例 #27
0
 public ValidateCodelineResponsePollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange) : base(configuration,log, exchange)
 {
 }
コード例 #28
0
 public GenerateCorrespondingVoucherResponsePollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange)
     : base(configuration, log, exchange)
 {
 }
コード例 #29
0
 public CorrectTransactionResponsePollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange) : base(configuration, log, exchange)
 {
 }
コード例 #30
0
 public void Initialize(IAdapterConfiguration config)
 {
     Configuration = (AzureTableAdapterConfiguration)config;
 }
コード例 #31
0
 public GetVouchersInformationRequestPollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange) : base(configuration, log, exchange)
 {
 }
コード例 #32
0
ファイル: PollingJob.cs プロジェクト: jhonner72/plat
 protected PollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange)
 {
     Configuration = configuration;
     Log = log;
     Exchange = exchange;
 }
コード例 #33
0
 public CheckThirdPartyResponsePollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange)
     : base(configuration, log, exchange)
 {
 }
コード例 #34
0
ファイル: Adapter.cs プロジェクト: r0si/flexGateway
 /// <summary>
 /// Configure the <see cref="Adapter"/>
 /// </summary>
 /// <param name="configuration"></param>
 public virtual void Configure(IAdapterConfiguration configuration)
 {
     Configuration = configuration;
 }
コード例 #35
0
 public ValidateCodelineResponsePollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange) : base(configuration, log, exchange)
 {
 }
コード例 #36
0
 public GenerateCorrespondingVoucherResponsePollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange) 
     : base(configuration, log, exchange)
 {
 }
コード例 #37
0
 public CarRequestToOcrBatchMapper(IAdapterConfiguration adapterConfiguration)
 {
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #38
0
 public CheckThirdPartyResponsePollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange) 
     : base(configuration, log, exchange)
 {
 }
コード例 #39
0
 public GetVouchersInformationRequestPollingJob(IAdapterConfiguration configuration, ILogger log, RabbitMqExchange exchange) : base(configuration, log, exchange)
 {
 }
コード例 #40
0
 public CourtesyAmountRequestBatchInfoMapper(IAdapterConfiguration adapterConfiguration)
 {
     this.adapterConfiguration = adapterConfiguration;
 }
コード例 #41
0
ファイル: ImageMergeHelper.cs プロジェクト: jhonner72/plat
 public ImageMergeHelper(
     IAdapterConfiguration adapterConfiguration)
 {
     this.adapterConfiguration = adapterConfiguration;
 }