public ExtractionManager(
            ExtractionRequest request, 
            IExtractionConfigProvider configProvider,
            IHttpAgent httpAgent,
            VerboseLogger verboseLogger)
        {
            Request = request;
            HttpAgent = httpAgent;
            VerboseLogger = verboseLogger;

            _csvDelimiter = configProvider.GetCsvDelimiter();
            _emailRegex = configProvider.GetEmailRegex();
            _hrefRegex = configProvider.GetHrefRegex();
            _invalidSiteLinkPatterns = configProvider.GetInvalidSiteLinkPatterns();

            Response = new ExtractionResponse();
        }
Beispiel #2
0
        public ExtractionManager(
            ExtractionRequest request,
            IExtractionConfigProvider configProvider,
            IHttpAgent httpAgent,
            VerboseLogger verboseLogger)
        {
            Request       = request;
            HttpAgent     = httpAgent;
            VerboseLogger = verboseLogger;

            _csvDelimiter            = configProvider.GetCsvDelimiter();
            _emailRegex              = configProvider.GetEmailRegex();
            _hrefRegex               = configProvider.GetHrefRegex();
            _invalidSiteLinkPatterns = configProvider.GetInvalidSiteLinkPatterns();

            Response = new ExtractionResponse();
        }