/** * Build out this discussion by adding a comment. * * @param comment The comment to add. * @return this. */ public Discussion SetComment(Comment comment) { AddComment(comment); return this; }
/** * Add a comment. * * @param comment The comment to add. */ public void AddComment(Comment comment) { if (_comments == null) { _comments = new List<Comment>(); } _comments.Add(comment); }
/** * Build out this discussion by adding a comment. * * @param comment The comment to add. * @return this. */ public Discussion SetComment(Comment comment) { AddComment(comment); return(this); }
public virtual void VisitComment(Comment comment) { //no-op. }
public override void VisitComment(Comment comment) { BindIfNeeded(comment); base.VisitComment(comment); }