private void SetNumUnreadComments(int numUnread) { lblComments.Content = CommentDismissalRecognizer.FormatNumUnreadComments(numUnread); }
private void SetNumUnreadComments(List <NewCommentsFrom> newCommentBins) { notifications.ItemsSource = newCommentBins; lblComments.Content = CommentDismissalRecognizer.FormatNumUnreadComments(newCommentBins.Total()); }