public void Setup() { _logger = new Logger(); _httpClient = new HttpClient(_logger); _amazonInfoParser = new AmazonInfoParser(_logger, _httpClient); _amazonClient = new AmazonClient(_httpClient, _amazonInfoParser, _logger); _goodreads = new SecondarySourceGoodreads(_logger, _httpClient, _amazonClient); }
public void Setup() { _logger = new ConsoleLogger(); _httpClient = new HttpClient(_logger); _amazonInfoParser = new AmazonInfoParser(_logger, _httpClient); _amazonClient = new AmazonClient(_httpClient, _amazonInfoParser, _logger); _authorProfileGenerator = new AuthorProfileGenerator(_httpClient, _logger, _amazonClient); _secondarySourceGoodreads = new SecondarySourceGoodreads(_logger, _httpClient, _amazonClient); _endActionsArtifactService = new EndActionsArtifactService(_logger); }
public static XRayBuilderGUI.XRay.XRay CreateXRayFromXML(string path, string db, string guid, string asin, SecondarySourceGoodreads goodreads, ILogger logger, ChaptersService chaptersService) => new XRayBuilderGUI.XRay.XRay(path, db, guid, asin, goodreads, logger, chaptersService, true, 0, "") { Unattended = true };
public static Core.XRay.XRay CreateXRayFromXML(string path, string db, string guid, string asin, SecondarySourceGoodreads goodreads) => new Core.XRay.XRay(path, db, guid, asin, goodreads, true) { Unattended = true };