コード例 #1
0
ファイル: Import.cs プロジェクト: spzenk/sfdocsamples
        public Import(List<KeepconPost> posts)
        {
            this.Contents = new List<Content>();
          
            Content wContent = null;

         
            //int count = posts.Count();
            foreach (KeepconPost p in posts)
            {
                wContent = new Content();
                
                wContent.Author = new Author("author", "allus");

                //wContent.Date = System.DateTime.Now;
                wContent.Id = p.PostID;
                wContent.Text.Text = p.Message;
                // wContent.Url_Context.Text = "http://allus.com.ar";


                this.Contents.Add(wContent);
            }




        }
コード例 #2
0
ファイル: Import.cs プロジェクト: spzenk/sfdocsamples
        public Import(KeepconPost post)
        {
            this.Contents = new List<Content>();
            this.Contenttype = post.KeepconCustomerCare;


            Content wContent = new Content();

            wContent.Author = new Author("author", "allus");

            //wContent.Date = System.DateTime.Now;
            wContent.Id = post.PostID;
            wContent.Text.Text = post.Message;
            // wContent.Url_Context.Text = "http://allus.com.ar";

            this.Contents.Add(wContent);


        }