public SkyDriveCatalogReader( CatalogModel catalog, ILiveLogin liveLogin, IStorageStateSaver storageStateSaver, DownloadController downloadController, ICatalogRepository catalogRepository) { _catalog = catalog; _liveLogin = liveLogin; _storageStateSaver = storageStateSaver; _downloadController = downloadController; _catalogRepository = catalogRepository; CatalogId = catalog.Id; }
public CatalogReaderFactory( ISdCardStorage sdStorage, IStorageStateSaver storageStateSaver, ILiveLogin liveLogin, DownloadController downloadController, ICatalogRepository catalogRepository, IWebClient webClient) { _sdStorage = sdStorage; _storageStateSaver = storageStateSaver; _liveLogin = liveLogin; _downloadController = downloadController; _catalogRepository = catalogRepository; _webClient = webClient; }
public OpdsCatalogReader(CatalogModel catalogModel, IStorageStateSaver storageStateSaver, IWebClient webClient) { CatalogModel = catalogModel; _storageStateSaver = storageStateSaver; WebClient = webClient; _opdsFilters = new IOpdsBadFormatFilter[] { new UnescapedAmpersandsFilter(), new UnescapedCdataFilter(), new UnescapedQuotesFilter(), new UnescapedSignsFilter(), new UnescapedHtmlDescriptionFilter(), new AcquisitionBuyFilter(), new UrlWithoutProtocolFilter(), }; CurrentFolder = new CatalogFolderModel { BaseUrl = catalogModel.Url, Items = new List<CatalogItemModel>() }; }
public OpdsCatalogReader(CatalogModel catalogModel, IStorageStateSaver storageStateSaver, IWebClient webClient) { CatalogModel = catalogModel; _storageStateSaver = storageStateSaver; WebClient = webClient; _opdsFilters = new IOpdsBadFormatFilter[] { new UnescapedAmpersandsFilter(), new UnescapedCdataFilter(), new UnescapedQuotesFilter(), new UnescapedSignsFilter(), new UnescapedHtmlDescriptionFilter(), new AcquisitionBuyFilter(), new UrlWithoutProtocolFilter(), }; CurrentFolder = new CatalogFolderModel { BaseUrl = catalogModel.Url, Items = new List <CatalogItemModel>() }; }
public LitresCatalogReader(CatalogModel catalogModel, IStorageStateSaver storageStateSaver, IWebClient webClient) : base(catalogModel, storageStateSaver, webClient) { }
public CopsCatalogReader(CatalogModel catalogModel, IStorageStateSaver storageStateSaver, IWebClient webClient) : base(catalogModel, storageStateSaver, webClient) { }