public MediaWikiImageDownloader(ILogger <MediaWikiImageDownloader> logger, IWikiContentFactory wikiMediaFactory, IImageLicenseProvider imageLicenseProvider, INetworkingProvider networkingProvider) { _logger = logger; _wikiMediaFactory = wikiMediaFactory; _imageLicenseProvider = imageLicenseProvider; _networkingProvider = networkingProvider; }
public MediaWikiArticleDownloader(ILogger <MediaWikiArticleDownloader> logger, INetworkingProvider networkingProvider, IArticleLicenseProvider articleLicenseProvider, IWikiContentFactory wikiMediaFactory) { _logger = logger; _articleLicenseProvider = articleLicenseProvider; _wikiMediaFactory = wikiMediaFactory; _networkingProvider = networkingProvider; }
public PatternMatchingService(ILogger <PatternMatchingService> logger, IWikiContentFactory wikiContentFactory, IWikiComponentFactory wikiComponentFactory, IMatchSpecificationProvider matchSpecificationProvider) { _logger = logger; _wikiContentFactory = wikiContentFactory; _wikiComponentFactory = wikiComponentFactory; _templateSpecifications = matchSpecificationProvider.GetTemplateSpecifications(); }
public MwParserApi(ILogger <MwParserApi> logger, IAstParser astTranslator, IWikiContentFactory wikiContentFactory, IWikiComponentFactory wikiComponentFactory) { _logger = logger; _astTranslator = astTranslator; _wikiContentFactory = wikiContentFactory; _wikiComponentFactory = wikiComponentFactory; _parser = new WikitextParser(); }