public RSSContentSite(DiabloNewsRSSReaderTypes readerType, string contentURI, int articleTypeID) { ReaderType = readerType; ContentURI = contentURI; ArticleTypeID = articleTypeID; }
private DiabloNewsRSSReader GetReader(DiabloNewsRSSReaderTypes readerType, string contentURI, int articleType) { DiabloNewsRSSReader reader = null; if (readerType == DiabloNewsRSSReaderTypes.SIMPLE) { reader = new DiabloNewsRSSReader_Simple(contentURI, articleType); } else if (readerType == DiabloNewsRSSReaderTypes.DIABLO_FANS) { reader = new DiabloNewsRSSReader_DialboFans(contentURI, articleType); } else if (readerType == DiabloNewsRSSReaderTypes.INC_GAMERS) { reader = new DiabloNewsRSSReader_DiabloIncGamers(contentURI, articleType); } return reader; }