Exemplo n.º 1
0
        public void AddComment(Comment comment)
        {
            Comments.TryAdd(comment);

            NewCommentReceived?.Invoke(this, comment);
        }
Exemplo n.º 2
0
 protected virtual void OnNewCommentReceived(Comment c) => NewCommentReceived?.Invoke(this, new NewCommentReceivedEventArgs {
     Comment = c
 });