PrcaAliases.

ReadIssues(ICakeContext, ICodeAnalysisProvider, DirectoryPath) Method

Summary

Reads issues from a single issue provider.
Assembly
Cake.Prca.dll
Namespace
Cake.Prca
Containing Type
PrcaAliases

Syntax

public static IEnumerable<ICodeAnalysisIssue> ReadIssues(this ICakeContext context, ICodeAnalysisProvider issueProvider, DirectoryPath repositoryRoot)

Examples

Read issues reported as MsBuild warnings:

ReportIssuesToPullRequest(
        MsBuildCodeAnalysisFromFilePath(
            @"C:\build\msbuild.log",
            MsBuildXmlFileLoggerFormat),
        new DirectoryPath("c:\repo")));

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
issueProvider ICodeAnalysisProvider The provider for issues.
repositoryRoot DirectoryPath Root path of the repository.

Return Value

Type Description
IEnumerable<T> Issues reported by issue provider.
GitHub