예제 #1
0
        public ParserProvider(
            IUnitOfWork unitOfWork,
            IMemoryStore memoryStore,
            IBodyTypeParser bodyTypeParser,
            ICarConditionParser carConditionParser,
            IDataLoader dataLoader,
            IDescriptionParser descriptionParser,
            IDriveUnitParser driveUnitParser,
            IEngineVolumetricParser engineVolumetricParser,
            IFuelTypeParser fuelTypeParser,
            IImageLinkParser imageLinkParser,
            IStructureExtractor structureExtractor,
            IMileageParser mileageParser,
            IBrandModelParser brandModelParser,
            IOfferNumberParser offerNumberParser,
            IPriceParser priceParser,
            IPublishDateParser publishDateParser,
            IRegionParser regionParser,
            ISourceLinkParser sourceLinkParser,
            ITransmissionTypeParser transmissionType,
            IVehicleTypeParser vehicleTypeParser,
            IYearParser yearParser
            )
        {
            UnitOfWork             = unitOfWork;
            MemoryStore            = memoryStore;
            BodyTypeParser         = bodyTypeParser;
            CarConditionParser     = carConditionParser;
            DescriptionParser      = descriptionParser;
            DriveUnitParser        = driveUnitParser;
            DataLoader             = dataLoader;
            EngineVolumetricParser = engineVolumetricParser;
            FuelTypeParser         = fuelTypeParser;
            ImageLinkParser        = imageLinkParser;
            StructureExtractor     = structureExtractor;
            MileageParser          = mileageParser;
            BrandModelParser       = brandModelParser;
            OfferNumberParser      = offerNumberParser;
            PriceParser            = priceParser;
            PublishDateParser      = publishDateParser;
            RegionParser           = regionParser;
            SourceLinkParser       = sourceLinkParser;
            TransmissionTypeParser = transmissionType;
            VehicleTypeParser      = vehicleTypeParser;
            YearParser             = yearParser;

            ScrappingPage = 1;
        }
예제 #2
0
 public RstParserProvider(
     ILogger <RstParserProvider> logger,
     IUnitOfWork unitOfWork,
     IMemoryStore memoryStore,
     IDataLoader dataLoader,
     IDescriptionParser descriptionParser,
     IDriveUnitParser driveUnitParser,
     IBodyTypeParser bodyTypeParser,
     ICarConditionParser carConditionParser,
     IEngineVolumetricParser engineVolumetricParser,
     IFuelTypeParser fuelTypeParser,
     IImageLinkParser imageLinkParser,
     IStructureExtractor structureExtractor,
     IMileageParser mileageParser,
     IBrandModelParser brandModelParser,
     IOfferNumberParser offerNumberParser,
     IPriceParser priceParser,
     IPublishDateParser publishDateParser,
     IRegionParser regionParser,
     ISourceLinkParser sourceLinkParser,
     ITransmissionTypeParser transmissionType,
     IVehicleTypeParser vehicleTypeParser,
     IYearParser yearParser)
     : base(unitOfWork,
            memoryStore,
            bodyTypeParser,
            carConditionParser,
            dataLoader,
            descriptionParser,
            driveUnitParser,
            engineVolumetricParser,
            fuelTypeParser,
            imageLinkParser,
            structureExtractor,
            mileageParser,
            brandModelParser,
            offerNumberParser,
            priceParser,
            publishDateParser,
            regionParser,
            sourceLinkParser,
            transmissionType,
            vehicleTypeParser,
            yearParser)
 {
     _logger = logger;
 }