Esempio n. 1
0
 public CommentSegment(NestedComment comment)
 {
     Comments = new List <NestedComment>()
     {
         comment
     };
 }
Esempio n. 2
0
 public void AddChildComment(NestedComment comment)
 {
     if (comment != null)
     {
         if (Children == null)
         {
             Children = new CommentSegment();
         }
         Children.Comments.Add(comment);
     }
 }