コード例 #1
0
        public IEnumerable <ICodeAnalysisIssue> FilterIssues(
            IEnumerable <ICodeAnalysisIssue> issues,
            IDictionary <ICodeAnalysisIssue, IEnumerable <IPrcaDiscussionComment> > issueComments)
        {
            this.PullRequestSystem?.Initialize(this.ReportIssuesToPullRequestSettings);

            var issueFilterer =
                new IssueFilterer(
                    this.Log,
                    this.PullRequestSystem,
                    this.ReportIssuesToPullRequestSettings);

            return(issueFilterer.FilterIssues(issues, issueComments));
        }
コード例 #2
0
        public IEnumerable <IIssue> FilterIssues(
            IEnumerable <IIssue> issues,
            IDictionary <IIssue, IssueCommentInfo> issueComments)
        {
            this.PullRequestSystem?.Initialize(this.ReportIssuesToPullRequestSettings);

            var issueFilterer =
                new IssueFilterer(
                    this.Log,
                    this.PullRequestSystem,
                    this.ReportIssuesToPullRequestSettings);

            return(issueFilterer.FilterIssues(issues, issueComments));
        }