public WXmpService(int siteid) { webClient.Encoding = Encoding.UTF8; unitOfWork = new UnitOfWork("ConnString"); this.siteid = siteid; this.keywordDictionary = this.InitializationNodeKeyword(); }
public ImgService(int siteid) { this.javaScriptSerializer = new JavaScriptSerializer(); webClient.Encoding = Encoding.GetEncoding("GBK"); unitOfWork = new UnitOfWork("ConnString"); this.siteid = siteid; this.webSite = this.unitOfWork.WebSiteRepository.Find(c => c.Id == siteid); }
public BaiduTopService() { this.webClient.Encoding = Encoding.GetEncoding("GBK"); unitOfWork = new UnitOfWork("wxmpConnString"); this.siteid = siteid; }