Beispiel #1
0
 public void RemoveComment(Comment comment)
 {
     if (this._comments.Contains(comment))
     {
         _comments.Remove(comment);
     }
 }
Beispiel #2
0
 public void AddComment(Comment comment)
 {
     if (!this.Comments.Contains(comment))
     {
         this._comments.Add(comment);
     }
 }