コード例 #1
0
 public AccommodationMergingService(NakijinContext context, AccommodationMappingsCache mappingsCache, AccommodationChangePublisher accommodationChangePublisher,
                                    IAccommodationChangeLogCollectorService accommodationChangeLogCollectorService)
 {
     _context       = context;
     _mappingsCache = mappingsCache;
     _accommodationChangePublisher           = accommodationChangePublisher;
     _accommodationChangeLogCollectorService = accommodationChangeLogCollectorService;
 }
コード例 #2
0
 public ActivityStatusManagementService(NakijinContext context, AccommodationChangePublisher accommodationChangePublisher,
                                        IAccommodationChangeLogService accommodationChangeLogService, IAccommodationChangeLogCollectorService accommodationChangeLogCollectorService)
 {
     _context = context;
     _accommodationChangePublisher           = accommodationChangePublisher;
     _accommodationChangeLogService          = accommodationChangeLogService;
     _accommodationChangeLogCollectorService = accommodationChangeLogCollectorService;
 }
コード例 #3
0
 public SupplierManagementService(NakijinContext context, AccommodationMappingsCache mappingsCache,
                                  AccommodationChangePublisher accommodationChangePublisher,
                                  IAccommodationChangeLogCollectorService accommodationChangeLogCollectorService, ILogger <SupplierManagementService> logger)
 {
     _context       = context;
     _mappingsCache = mappingsCache;
     _accommodationChangePublisher           = accommodationChangePublisher;
     _accommodationChangeLogCollectorService = accommodationChangeLogCollectorService;
     _logger = logger;
 }
コード例 #4
0
 public AccommodationDataCorrectionManager(NakijinContext context, MultilingualDataHelper multilingualDataHelper,
                                           AccommodationDataCorrectionHelper dataCorrectionHelper, AccommodationChangePublisher accommodationChangePublisher,
                                           IAccommodationChangeLogCollectorService accommodationChangeLogCollectorService,
                                           ISupplierOptionsClient supplierOptionsClient)
 {
     _context = context;
     _multilingualDataHelper                 = multilingualDataHelper;
     _dataCorrectionHelper                   = dataCorrectionHelper;
     _accommodationChangePublisher           = accommodationChangePublisher;
     _accommodationChangeLogCollectorService = accommodationChangeLogCollectorService;
     _supplierOptionsClient                  = supplierOptionsClient;
 }
コード例 #5
0
 public AccommodationsBatchChangeCollector(NakijinContext context, AccommodationDataStorageBySupplierAndCountry accommodationDataStorage,
                                           ActualLocationsSearchHelper actualLocationsSearchHelper, IAccommodationChangeLogCollectorService accommodationChangeLogCollectorService,
                                           MultilingualDataHelper multilingualDataHelper, IAccommodationMapperDataRetrieveService accommodationMapperDataRetrieveService,
                                           ILoggerFactory loggerFactory)
 {
     _accommodationDataStorage               = accommodationDataStorage;
     _actualLocationsSearchHelper            = actualLocationsSearchHelper;
     _accommodationChangeLogCollectorService = accommodationChangeLogCollectorService;
     _context = context;
     _multilingualDataHelper = multilingualDataHelper;
     _accommodationMapperDataRetrieveService = accommodationMapperDataRetrieveService;
     _logger = loggerFactory.CreateLogger <AccommodationsBatchChangeCollector>();
 }
コード例 #6
0
 public AccommodationMapper(NakijinContext context, ILoggerFactory loggerFactory, IOptions <StaticDataLoadingOptions> options,
                            MultilingualDataHelper multilingualDataHelper, TracerProvider tracerProvider,
                            AccommodationChangePublisher accommodationChangePublisher, AccommodationMapperHelper mapperHelper,
                            AccommodationDataStorageBySupplierAndCountry accommodationDataStorage,
                            IAccommodationMapperDataRetrieveService accommodationMapperDataRetrieveService,
                            IAccommodationChangeLogCollectorService accommodationChangeLogCollectorService,
                            ActualLocationsSearchHelper actualLocationsSearchHelper, AccommodationValidator accommodationValidator,
                            AccommodationsBatchChangeCollector accommodationsBatchChangeCollector)
 {
     _context   = context;
     _logger    = loggerFactory.CreateLogger <AccommodationMapper>();
     _batchSize = options.Value.MappingBatchSize;
     _multilingualDataHelper       = multilingualDataHelper;
     _tracerProvider               = tracerProvider;
     _accommodationChangePublisher = accommodationChangePublisher;
     _mapperHelper = mapperHelper;
     _accommodationMapperDataRetrieveService = accommodationMapperDataRetrieveService;
     _accommodationChangeLogCollectorService = accommodationChangeLogCollectorService;
     _actualLocationsSearchHelper            = actualLocationsSearchHelper;
     _accommodationDataStorage           = accommodationDataStorage;
     _accommodationValidator             = accommodationValidator;
     _accommodationsBatchChangeCollector = accommodationsBatchChangeCollector;
 }