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));
 }
예제 #2
0
        public override WeNewsMaterial CreateNewsMaterial()
        {
            WeNewsMaterial weNews = new WeNewsMaterial(NewsItem);

            return(weNews);
        }
예제 #3
0
 public override WeNewsMaterial CreateNewsMaterial()
 {
     WeNewsMaterial weNews = new WeNewsMaterial(NewsItem);
     return weNews;
 }