public OutputData Insert(IInputData input, object instance)
 {
     MpNewsArticle article = instance as MpNewsArticle;
     WeNewsMaterial news = new WeNewsMaterial(article);
     news.Add();
     return OutputData.CreateToolkitObject(new KeyData(article.Title, article.Content));
 }
Exemplo n.º 2
0
        public override WeNewsMaterial CreateNewsMaterial()
        {
            WeNewsMaterial weNews = new WeNewsMaterial(NewsItem);

            return(weNews);
        }
Exemplo n.º 3
0
 public override WeNewsMaterial CreateNewsMaterial()
 {
     WeNewsMaterial weNews = new WeNewsMaterial(NewsItem);
     return weNews;
 }