private bool NotRecentlyProcessed(CommentChildData comment) { if (comment == null) { throw new ArgumentNullException(nameof(comment)); } return(!RecentCommentsIds.Contains(comment.Id)); }
private void ProcessComment(CommentChildData comment) { // TEMPORARY MEASURE!! REMOVE IN FINAL!!! Console.WriteLine($"{comment.Author} : {comment.Id}"); Console.WriteLine(); RecentCommentsIds.Enqueue(comment.Id); }