public static IEnumerable <ICodeAnalysisIssue> ReadIssues( this ICakeContext context, ICodeAnalysisProvider issueProvider, DirectoryPath repositoryRoot) { context.NotNull(nameof(context)); issueProvider.NotNull(nameof(issueProvider)); repositoryRoot.NotNull(nameof(repositoryRoot)); return (context.ReadIssues( issueProvider, new ReadIssuesSettings(repositoryRoot))); }
public static IEnumerable <ICodeAnalysisIssue> ReadIssues( this ICakeContext context, ICodeAnalysisProvider issueProvider, ReadIssuesSettings settings) { context.NotNull(nameof(context)); issueProvider.NotNull(nameof(issueProvider)); settings.NotNull(nameof(settings)); return (context.ReadIssues( new List <ICodeAnalysisProvider> { issueProvider }, settings)); }
public static PrcaResult ReportIssuesToPullRequest( this ICakeContext context, ICodeAnalysisProvider codeAnalysisProvider, IPullRequestSystem pullRequestSystem, DirectoryPath repositoryRoot) { context.NotNull(nameof(context)); codeAnalysisProvider.NotNull(nameof(codeAnalysisProvider)); pullRequestSystem.NotNull(nameof(pullRequestSystem)); repositoryRoot.NotNull(nameof(repositoryRoot)); return (context.ReportIssuesToPullRequest( codeAnalysisProvider, pullRequestSystem, new ReportIssuesToPullRequestSettings(repositoryRoot))); }
public static PrcaResult ReportIssuesToPullRequest( this ICakeContext context, ICodeAnalysisProvider codeAnalysisProvider, IPullRequestSystem pullRequestSystem, ReportIssuesToPullRequestSettings settings) { context.NotNull(nameof(context)); codeAnalysisProvider.NotNull(nameof(codeAnalysisProvider)); pullRequestSystem.NotNull(nameof(pullRequestSystem)); settings.NotNull(nameof(settings)); return (context.ReportIssuesToPullRequest( new List <ICodeAnalysisProvider> { codeAnalysisProvider }, pullRequestSystem, settings)); }