Aliases.

ReadIssues(ICakeContext, IIssueProvider, ReadIssuesSettings) Method

Summary

Reads issues from a single issue provider using the specified settings.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
Aliases

Syntax

public static IEnumerable<IIssue> ReadIssues(this ICakeContext context, IIssueProvider issueProvider, ReadIssuesSettings settings)

Examples

Read issues reported by JetBrains inspect code and format comments in Markdown:

 var settings =
         new ReadIssuesSettings(@"c:\repo")
         {
             Format = IssueCommentFormat.Markdown
         };

     var issues =
         ReadIssues(
             InspectCodeIssuesFromFilePath(
                 @"C:\build\inspectcode.log"),
             settings));

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
issueProvider IIssueProvider The provider for issues.
settings ReadIssuesSettings The settings.

Return Value

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