This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.Sarif.
Summary
Gets an instance of a provider for SARIF compatible files using file content.
- Assembly
- Cake
.Issues .Sarif .dll - Namespace
- Cake
.Issues .Sarif - Containing Type
- SarifIssuesAliases
Syntax
public static IIssueProvider SarifIssuesFromContent(this ICakeContext context, string logFileContent)
Examples
Read issues from a SARIF compatible file:
var issues =
ReadIssues(
SarifIssuesFromContent(logFileContent)),
@"c:\repo");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
logFileContent | string | Content of the SARIF compatible file. |
Return Value
Type | Description |
---|---|
IIssueProvider | Instance of a provider for SARIF compatible files. |